Display edge redirect notice in timeout pages

Bug #325849 reported by Diogo Matsubara
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Diogo Matsubara

Bug Description

A notice for beta testers is displayed in Launchpad's home page <https://launchpad.net/> telling them that they will be automatically redirected to edge and offering an option to disable this redirection for 2 hours.

We want to display a similar notice in time out pages, so people that are affected by a timeout on edge can revert back to production on the spot.

Changed in launchpad-foundations:
assignee: nobody → matsubara
importance: Undecided → High
milestone: none → 2.2.2
status: New → In Progress
Revision history for this message
Diogo Matsubara (matsubara) wrote :

I have a initial implementation but I'm having problems testing this properly.

Running xx-beta-testers-redirection.txt I get the following output:

https://pastebin.canonical.com/14066/

Checking the OOPS generated <https://pastebin.canonical.com/14065/> one can see that there wasn't a logged in user.

So the +soft-timeout page times out before it has a chance to figure out who's the logged in user and display the edge redirection notification.

Revision history for this message
Diogo Matsubara (matsubara) wrote :

This investigation also reminded me of a similar problem we had in the past, which led us to simplify the oops and timeout templates to not include information about the logged in user.

Changed in launchpad-foundations:
milestone: 2.2.2 → 2.2.3
Changed in launchpad-foundations:
milestone: 2.2.3 → 2.2.4
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Fixed in devel r8195

Changed in launchpad-foundations:
status: In Progress → Fix Committed
Changed in launchpad-foundations:
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.