Item5522: oops script does not fail gracefully

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: Foswiki:Main.SvenDowideit
Waiting For:
Last Change By: CrawfordCurrie
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

ItemTemplate edit

Summary oops script does not fail gracefully
ReportedBy Foswiki:Main.SvenDowideit
Codebase trunk
SVN Range TWiki-5.0.0, Thu, 03 Apr 2008, build 16612
AppliesTo Engine
Component
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r5 - 21 Dec 2014, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy