Closed Bug 497446 Opened 15 years ago Closed 15 years ago

[Extension] can't log out

Categories

(addons.mozilla.org Graveyard :: Collector Extension, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
BW-1.0.3

People

(Reporter: dietrich, Assigned: mackers)

Details

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
What's your Add-on Collector extension version? Update to 1.0.2 if you haven't already.
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
Summary: can't log out → [Extension] can't log out
Dave, note the user agent version.

See also bug 497438 that Dietrich filed, which might be related.
Assignee: brian → dave
Target Milestone: --- → BW-M6
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
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
Closed: 15 years ago
Resolution: --- → FIXED
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.