59.94 KB, image/jpeg
Created attachment 338138 [details] Screencap of AMO experimental login while already logged in I went to the following URL which is for an experimental add-on: https://addons.mozilla.org/en-US/firefox/search?q=LowBrowse&cat=all I noticed that it wouldn't allow me to add it to FF and presented the following message: "Log in to install this experimental add-on. Why? " If you look at the attached screencap, you can see that I was actually logged in to AMO.
Additionally, when I clicked on the login link presented on that page, it redirected me to the AMO homepage and did not offer an opportunity to login. The AMO homepage still showed me as logged in with editor and admin tool links visible.
That looks to me like a flaw in the element caching code, which does not seem to make a difference between logged in and not logged in users. In fact, I am not sure if we should cache the entire list element anymore once bug 425315 is in place.
As stated in bug 449667, this can happen in the opposite direction too. Without having looked at all the code, I am quite certain this occurs due to element caching, as I did not see anything preventing the element from being cached between logged out and logged in users. I will switch off element caching for add-on list items shortly.
OS: Mac OS X → All
Hardware: Macintosh → All
Switched off in SVN, r18626. Pulling into 4.0.2 milestone, marking push-needed.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.0.2
Verified FIXED on https://preview.addons.mozilla.org/en-US/firefox/browse/type:1/cat:22?show=100&exp=on&sort=name.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.