Closed
Bug 500111
Opened 15 years ago
Closed 15 years ago
Pending/Nominated add-ons filter broken
Categories
(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect)
addons.mozilla.org Graveyard
Admin/Editor Tools
Tracking
(Not tracked)
VERIFIED
FIXED
5.0.8
People
(Reporter: u278084, Assigned: u278084)
References
()
Details
Attachments
(1 file, 1 obsolete file)
730 bytes,
patch
|
smccammon
:
review+
|
Details | Diff | Splinter Review |
I noticed that the AJAX look-up by add-on name/author's email is broken on preview and AMO, but not on my local box. I think because I only have 4 extensions in the queue. STR : 1. To go the URL, you need editor privileges 2. Open up the Filter Queue 3. In the "Add-on or Author Email" textbox, enter the first add-on in the queue 4. Take a nap AR : The spinning icon goes on for a long period of time, perhaps forever ER : A list of e-mails and/or add-ons.
Comment 1•15 years ago
|
||
I get a 401 Unauthorized returned to my GET request for: GET /en-US/editors/addonAndAuthorLookup/pending?q=stephen&limit=40×tamp=1245814696653 HTTP/1.1 Host: preview.addons.mozilla.org <snip> Keep-Alive: 300 Connection: keep-alive X-Requested-With: XMLHttpRequest Referer: https://preview.addons.mozilla.org/en-US/editors/queue/pending HTTP/1.x 401 Unauthorized Date: Wed, 24 Jun 2009 03:38:16 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 X-AMO-ServedBy: pm-app-amo06 P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM" Cache-Control: no-store, must-revalidate, post-check=0, pre-check=0, private, max-age=0 Pragma: private Connection: close Content-Type: text/html; charset=UTF-8
Comment 2•15 years ago
|
||
https://addons.mozilla.org/en-US/editors/addonAndAuthorLookup/pending?q=t&limit=40×tamp=1245814696653 wfm, but I'm an admin.
Comment 3•15 years ago
|
||
wfm too, but the request does combine the results of 3 different fairly expensive queries. I can see potential for timeout.
Comment 4•15 years ago
|
||
Collections have been the trouble lately. Would this benefit by going through and doing some bindOnly() work before those queries?
Comment 5•15 years ago
|
||
Collections are out of the picture as the queries are not using cake's ORM or joining into collections. I am curious about Stephen's 401 on preview - that is a problem if he was an admin or editor. (I am neither on preview, so cannot verify there)
Comment 7•15 years ago
|
||
(In reply to comment #5) > Collections are out of the picture as the queries are not using cake's ORM or > joining into collections. > > I am curious about Stephen's 401 on preview - that is a problem if he was an > admin or editor. (I am neither on preview, so cannot verify there) The account I log into preview with has both Admin and Editor privs.
(In reply to comment #2) > https://addons.mozilla.org/en-US/editors/addonAndAuthorLookup/pending?q=t&limit=40×tamp=1245814696653 > wfm, but I'm an admin. I get an Access Denied error. I only have developer + editor privileges.
Turns out to be a permissions problem similar to bug 501345. Thanks stephend for pointing that out.
Assignee: nobody → cdolivei.bugzilla
Status: NEW → ASSIGNED
Attachment #386362 -
Flags: review?(smccammon)
Updated•15 years ago
|
Attachment #386362 -
Flags: review?(smccammon) → review+
Comment 10•15 years ago
|
||
Comment on attachment 386362 [details] [diff] [review] typo fix and conditional reversal Thanks!
Assignee | ||
Comment 11•15 years ago
|
||
Another patch inspired by Scott (sorry for dumping this on you again)
Attachment #386362 -
Attachment is obsolete: true
Attachment #390975 -
Flags: review?(smccammon)
Comment 12•15 years ago
|
||
Comment on attachment 390975 [details] [diff] [review] better patch I'm sorry for creating the original broken code. Thanks for the fix!
Attachment #390975 -
Flags: review?(smccammon) → review+
Assignee | ||
Comment 13•15 years ago
|
||
In r30533. Thanks!
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: push-needed
Resolution: --- → FIXED
Target Milestone: --- → 5.0.8
Verified FIXED; https://preview.addons.mozilla.org/en-US/editors/queue/pending is now nice and zippy -- tested both as an Admin and as an Editor.
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Keywords: push-needed
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
•