Closed
Bug 1211692
Opened 9 years ago
Closed 9 years ago
Wheel of death when adding theme to a collection
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: amyt, Assigned: cgrebs)
Details
http://imgur.com/AqaWVJP First it hangs when you click Add to Collection, and when it loads and you click on the collection you want to add it too, the wheel just keeps spinning. The themes eventually make it into the collection, but the wheel still spins.
Comment 1•9 years ago
|
||
With the developer console I can see this is horribly slow: https://www.dropbox.com/s/oynbzjosya2gcas/Screenshot%202015-10-05%2015.51.17.png?dl=0 Something looks amiss there, 5037 ms the first call, time out at 120,049 ms the second call.
Comment 2•9 years ago
|
||
Also, when trying to make an addon search (from Collection's Add-on tab) after the same chars twice, no addons are listed, and the loading wheel is still "working". Please see the screencast: http://screencast.com/t/jqcqRyXWf5 and let me know if another issue should be logged. Verified on AMO-prod FF41(Win 7).
Updated•9 years ago
|
Assignee: nobody → cg
Updated•9 years ago
|
Assignee: cg → cgrebs
Assignee | ||
Comment 3•9 years ago
|
||
PR https://github.com/mozilla/olympia/pull/829/
Assignee | ||
Updated•9 years ago
|
Status: NEW → ASSIGNED
Comment 4•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/olympia https://github.com/mozilla/olympia/commit/75d321a47f95f9c5ac079914a8f06d80cd050d95 Improve collections ajax list performance. (bug 1211692) This uses a simple extra query to check if the addon exists in a collection or not. This avoids the for-loop and thus n queries on a (possibly) huge list of addon ids.
Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 5•9 years ago
|
||
The issue from comment #2 is still reproducing: "wheel of death" is present if the same search chars are typed twice. Please see the screencast: http://screencast.com/t/HeTLk02Cypw Should I file another bug?
Flags: needinfo?(cgrebs)
Comment 6•9 years ago
|
||
(In reply to ValentinaP from comment #5) > The issue from comment #2 is still reproducing: "wheel of death" is present > if the same search chars are typed twice. > Please see the screencast: http://screencast.com/t/HeTLk02Cypw > Should I file another bug? Yes its a different issue.
Comment 7•9 years ago
|
||
based on comment #6 and comment #5 I'll mark this bug verified. Postfix screencast: http://screencast.com/t/vBuwpLvK0 Closing bug.
Status: RESOLVED → VERIFIED
Flags: needinfo?(cgrebs)
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•