Closed Bug 758438 Opened 13 years ago Closed 12 years ago

"My Favorite Add-ons" Listed Multiple times in "Recently Viewed" after being deleted and revisited

Categories

(addons.mozilla.org Graveyard :: Collections, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Adi_J, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/15.0 Firefox/15.0a1 Build ID: 20120522080220 Steps to reproduce: Build identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/15.0 Firefox/15.0a1 Steps to Recreate: 1. Go to : AMO website: https://addons-dev.allizom.org/en-US/firefox/ 2. Enter valid credentials to go into your account. 3. Make your way to "Collections". 4. If you have not visited "My Favorite Add-ons" before, it would not be in "Recently Viewed", 5. Go to "My Favorite Add-ons", click " Delete Collection" and press "you are sure". 6. Go visit "My Favorite Add-ons" again add or add to follow. 7. Go Back to Collections Page. Actual results: "My Favorite Add-ons" is listed Multiple times, in Recently viewed even though its the same folder and not a different Collection. Expected results: System should realize its the same name and or collection default for the User and should be listed a single time.
This is True for any Collection, If one creates and deletes it after which a collection with the same name is recreated it is listed multiple times in the Recently Viewed
This is because we use the Collection ID to uniquely identify (and list) collections. This means that every time your Favorite collection is recreated we use a new ID for it and that's why it gets listed multiple times. However, I agree that it can be confusing for users.
We just need to remove the items from localStorage. This is almost identical to bug 758117 (the only difference being that we don't look at that name of the collection and only the ID which is unique as Krupa says above).
Status: UNCONFIRMED → NEW
Ever confirmed: true
this is too much of an edgecase for us to worry about today.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
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: