Two adjacent "To continue, you must log in" messages

Bug #67118 reported by Matthew Paul Thomas
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Confirmed
Undecided
Unassigned

Bug Description

1. Become logged out from Launchpad, for whatever reason (e.g. because you cleared your cookies).
2. In one window, open a page that requires login (such as <https://launchpad.net/products/schooltool/2006/+pots/schooltool/lt/170/+translate>).
3. Before the first page starts loading, in another window, open another page that requires login (such as <https://launchpad.net/products/launchpad/+filebug>).

What happens: One of the resulting login pages has two consecutive banners saying "To continue, you need to log in". On the other page, this text isn't present at all.

What should happen: The text should appear once and only once on every login page.

This is a side-effect of the way we handle alert messages, because we don't cruft up our URLs with tokens linking a particular message to a particular browsing path. However, we know that the login page should *always* contain the text "To continue, you need to log in", so it needn't be implemented as an alert message in the first place.

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

Hi Matthew,

I couldn't reproduce this here.

Is this reproducible in launchpad.dev?

Thanks

Changed in rosetta:
status: Unconfirmed → Needs Info
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

I just reproduced it on production. I can't reproduce it on launchpad.dev because it's local and not over HTTPS, so it's too quick. Updated description coming.

Changed in rosetta:
status: Needs Info → Confirmed
description: updated
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.