All users were logged out of Bugzilla on October 13th, 2018

[Extension] can't log out

VERIFIED FIXED in BW-1.0.3

Status

VERIFIED FIXED
10 years ago
3 years ago

People

(Reporter: dietrich, Assigned: mackers)

Tracking

unspecified
BW-1.0.3
x86
Mac OS X

Details

(Reporter)

Description

10 years ago
go to Collector prefs, click logout, nothing happens.

in js console:

Error: Bandwagon is not defined
Source File: chrome://bandwagon/content/ui/collectionsPaneController.js
Line: 276

Comment 1

10 years ago
What's your Add-on Collector extension version? Update to 1.0.2 if you haven't already.
(Reporter)

Comment 2

10 years ago
yes, running 1.0.2 on:

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1pre) Gecko/20090610 Shiretoko/3.5pre

Updated

10 years ago
Summary: can't log out → [Extension] can't log out

Comment 3

10 years ago
Dave, note the user agent version.

See also bug 497438 that Dietrich filed, which might be related.
Assignee: brian → dave
Target Milestone: --- → BW-M6
(Assignee)

Comment 4

10 years ago
I don't think user version is relevant in this case - I can reproduce intermittently.

This is related to the odd error we've been seeing - "Error: Bandwagon is not defined" - in various incarnations, but only on Mac.

I think this may be something that happens when we lose a reference to the Bandwagon singleton in cases when the browser window itself is closed under certain circumstances.

I'll do a review on Mac and see if I can come up with a solid STR and solution.
Status: NEW → ASSIGNED
(Assignee)

Comment 5

10 years ago
STR on mac:

1. Start firefox.
2. Tools -> Add-ons
3. Close browser window (leaving add-ons open)
4. Re-open a browser window (leaving add-ons open)
5. In Add-ons window, some operations fail.

As I said, this was a symptom of a larger problem where the extension loses a reference to the Bandwagon namespace (and also Components, etc).

I have fixed this. Rather than relying on the global Bandwagon object being around, the extension is now keeping an internal reference to Bandwagon (and Components) which is "passed around". This and some other changes (w.r.t this bug) should finally resolve this "can't log out" problem and hopefully all related "Error: Bandwagon is not defined" problems.

r28006.


r
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED

Updated

10 years ago
Target Milestone: BW-M6 → BW-1.0.3
Verified FIXED using the STR in comment 5, above, on:

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 with the http://people.mozilla.com/~jscott/bandwagon/2009-08-11.xpi version of the add-ons collector.
Status: RESOLVED → VERIFIED
Component: Collections → Collector Extension
QA Contact: collections → collector-extension
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.