Closed Bug 641389 Opened 14 years ago Closed 14 years ago

[Collector] Detect Installed Add-ons

Categories

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

BW-2.0
x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED
BW-2.0

People

(Reporter: kinger, Assigned: mackers)

References

Details

Attachments

(1 file)

Before adding an item to a collection, we need to determine if it is already installed to create a different type. I think we can do a simple AOM query, and then we need to pass a different parameter (not remote) to the createItem call.
Fixed. r85126
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reopening - when a collection is refreshed, duplicates of local items are created.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to comment #2) > Reopening - when a collection is refreshed, duplicates of local items are > created. Can't reproduce this. STR?
(In reply to comment #3) > Can't reproduce this. STR? 1. Load the Collections pane 2. Load a collection that has at least 1 add-on that is installed locally 3. Refresh all collections (wait for interval refresh or use manual button)
Version: unspecified → BW-2.0
Attached image Double Entries
Screenshot showing double entries. Fotofox and Foxclocks (disabled) are installed locally.
Still can't repro. Checked in a blind fix r85329
(In reply to comment #6) > Still can't repro. > > Checked in a blind fix r85329 This caused another regression. Now the local add-on is not appearing in the Collection(s) it belongs to on first sync. On reload, it appears. On subsequent reloads, duplicates do not appear.
Arg. Another blind fix checked in. r85341 If that doesn't work, please try to debug yourself if you can still repro. Offending code is: collectionsPaneController.js:1076
(In reply to comment #8) > Arg. Another blind fix checked in. Yes, that did it! Thanks.
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: