"log out" will error with a 404 and an OOPS code in various pages

Bug #112776 reported by Matthew Paul Thomas
58
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Robert Collins

Bug Description

Any page in Launchpad that has a traversal error ( such as <https://launchpad.net/+foo/+bar>, or private bugs that a user cannot see, etc etc) will have a Log Out button that won't work.

Symptoms: clicking on the Log Out button shown on many pages will show a 404 and explain that an error has happened, giving an OOPS ID to seek support with.

What should happen: You're logged out, and whatever launchpad does when you log out should happen. However you do not get logged out.

 OOPS-1908S71

analysis
--------

+logout is a regular form which we adapt other objects to. Objects that are not traversable for any reason (private, don't exist, etc) never hit the +logout form code, so the log out never happens.

possible fixes
--------------

* Use /+logout as the form rather than making it be based on the current url.

* Don't use regular form and traversal machinery to handle +logout: special case it in the publisher.

Tags: oops qa-ok

Related branches

Changed in launchpad:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Changed in launchpad:
importance: Low → Critical
tags: added: oops
removed: lp-foundations
description: updated
description: updated
description: updated
summary: - "Log Out" doesn't work on deep 404 page
+ "log out" will error with a 404 and an OOPS code in various pages
description: updated
Changed in launchpad:
assignee: nobody → Robert Collins (lifeless)
Changed in launchpad:
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Changed in launchpad:
milestone: none → 11.05
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
tags: added: qa-ok
removed: qa-needstesting
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.