Closed
Bug 436810
Opened 16 years ago
Closed 16 years ago
Search-results page only shows 1 of 2 reviews
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
4.x (triaged)
People
(Reporter: stephend, Assigned: wenzel)
References
()
Details
Attachments
(1 file)
1.50 KB,
patch
|
morgamic
:
review+
|
Details | Diff | Splinter Review |
There are currently two reviews on https://preview.addons.mozilla.org/en-US/firefox/addon/5428#reviews, yet the search-results page for "QA Companion", https://preview.addons.mozilla.org/en-US/firefox/search?q=qa+companion&cat=all, shows only "1 review"
Reporter | ||
Comment 1•16 years ago
|
||
Still not showing up, so not a cache bug like I thought -- must've been thinking of something else. This was as a result of a moderated review, I think.
Updated•16 years ago
|
Target Milestone: 3.4.3 → 3.4.4
Updated•16 years ago
|
Target Milestone: 3.4.4 → 3.4.5
Updated•16 years ago
|
Assignee: nobody → clouserw
Assignee | ||
Comment 2•16 years ago
|
||
It seems to me like our reviews and ratings maintenance tasks are not being run on a regular basis anymore? Either way, I am removing the "has valid files" requirement from the review counts as that will certainly bias the results (hm, I think this is bug 435123 rather than this one here, but it's part of what's needed here too so yeah).
Assignee | ||
Comment 3•16 years ago
|
||
CCing oremj: Jeremy, sorry we are probably bothering you with this for about the 25th time but: The regular maintenance tasks ("php maintenance.php reviews" and "... ratings") are only run in production, not on preview, is that correct? This may well cause the discrepancy we are seeing here.
Comment 4•16 years ago
|
||
That is correct.
Assignee | ||
Comment 5•16 years ago
|
||
In spite of the maintenance tasks apparently being run now on preview (bug 438832), this is still showing up on preview. However, this works correctly on my dev copy, as well as in production (see the urls in comment 0, without "preview"). I suggest the following (to be done post-AMO-3.4.5): We should add code to incrementally update the review counts as they get written or deleted (we could use this count everywhere then, saving us a bunch of counting queries). Then we should have the maintenance tasks run once on preview to get the counts up to date. Along with the incremental update, we should fix (and recalculate incrementally) the ratings, in bug 291413. Not sure if that should be a spinoff bug of this?
Assignee | ||
Updated•16 years ago
|
Target Milestone: 3.4.5 → 3.x (triaged)
Updated•16 years ago
|
Attachment #324562 -
Flags: review?(morgamic) → review+
Assignee | ||
Comment 6•16 years ago
|
||
(In reply to comment #2) > Created an attachment (id=324562) [details] > removing "has files" requirement for reviews/ratings count in maintenance > script Thanks for the review, r16792.
Keywords: push-needed
Assignee | ||
Updated•16 years ago
|
Keywords: push-needed
Assignee | ||
Comment 7•16 years ago
|
||
This is fixed.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
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
•