Item5522: oops script does not fail gracefully
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
if you goto
http://foswiki.org/bin/oops/Tasks
which you can get if you use template login, and get an oops screen that you then login from (as template login loses the params)
you get a pretty blank, and puzzling page.
in fact, there are 2 bugs here - as it can be caused by login losing the url params, and then redirecting the user to what becomes a bad url. same effect can be seen with the Bugs Contrib for 'create new bug'
--
TWiki:Main/SvenDowideit - 11 Apr 2008
I believe we fixed this for template login in Foswiki, but I'm not clear what conditions are required to arrive at the blank page in the first place.... Sven?
-- Crawford
While it does appear that we fixed the vector that I found, the root issue is still there.
If
something goes wrong, and a user gets to
http://foswiki.org/bin/oops/Tasks they are presented with a nonsensical screen.
IMO we should be testing our inputs for sanity, and when something is odd - like an oops URL with no parameters (neither POST nor GET) to show the user something useful. (ie, an error message telling the user they have gotten to somewhere wrong, and giving them pointers to valid locations - like login and HOMETOPIC)
--
SvenDowideit - 08 Feb 2009