Closed Bug 642941 Opened 13 years ago Closed 13 years ago

Submitting to full review queue does not set file status correctly

Categories

(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect, P3)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Assigned: andy+bugzilla)

References

()

Details

Attachments

(2 files)

Attached image screenshot
steps to reproduce:
1. Load https://addons.allizom.org/z/en-US/editors/review/396865?num=4#more-about
2. Notice the file status under 'Files and Validation Results' section

expected behavior:
File status is 'Awaiting full review'

observed behavior:
File status is 'Awaiting preliminary review'
Target Milestone: 6.0.2 → 6.0.3
The file status is '1' in the database which corresponds to preliminary review.  The add-on status is 3, which is awaiting full review.  Is this bug about the discrepancy between file and add-on review status?  If so, please add steps to reproduce.
STR:
1. Upload an add-on into the full review queue
2. As an editor, navigate to the review detail page for that add-on
3. Notice the file status under 'Files and Validation Results' section

expected behavior:
File status is 'Awaiting full review' which is same as the add-on status.

observed behavior:
File status is 'Awaiting preliminary review'
Assignee: nobody → amckay
Priority: -- → P3
Summary: Incorrect file status shown under 'Files and Validation Results' section → Submitting to full review queue does not set file status correctly
Note that the problem is not that the file status is incorrect, but that the text for the status is confusing. All files pending review have the "Awaiting preliminary review" status, but this can have a different meaning depending on the add-on's status.
jorgev just wants the status label to say "Pending Full Review or Pending Preliminary Review depending on the add-on status".
https://github.com/jbalogh/zamboni/commit/09ec1cdf899de80d0facc8264a1bd27bcf6d9430
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
File status is not being set for pending updates.

STR:
1. Load https://addons.allizom.org/z/en-US/editors/review/399285?num=1
2. Notice the file status under 'Files and Validation Result'

expected result:
File status for all pending updates is 'Pending Full review'

actual result:
File status for all pending updates is 'Awaiting Preliminary Review'

Also, small nitpick:
Add-ons in Full review queue have status set to "Pending Full review" and add-ons in lite queue have "Awaiting preliminary review".

can we make the copy same(use "awaiting" for "pending" in both file status)?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to comment #6)
> File status is not being set for pending updates.
> 
> STR:
> 1. Load https://addons.allizom.org/z/en-US/editors/review/399285?num=1
> 2. Notice the file status under 'Files and Validation Result'
> 
> expected result:
> File status for all pending updates is 'Pending Full review'
> 
> actual result:
> File status for all pending updates is 'Awaiting Preliminary Review'
> 
 Filed this as a separate bug. See bug 645171 for details
(In reply to comment #3)
> Note that the problem is not that the file status is incorrect, but that the
> text for the status is confusing. All files pending review have the "Awaiting
> preliminary review" status, but this can have a different meaning depending on
> the add-on's status.

As per Wil's comment 1, all new submissions have file status set to 1 which is incorrect.

File status should be 1 if it awaiting lite review and 3 if it is in full review queue.
I'm inclined to agree with Krupa and Wil and would like to change that file status when submitting to the full review queue.
(In reply to comment #8) 
> As per Wil's comment 1, all new submissions have file status set to 1 which is
> incorrect.

This is how things are working in remora right now, and everything is fine except for the text presented to the developer. Having a different status is unnecessary.

> File status should be 1 if it awaiting lite review and 3 if it is in full
> review queue.

You're confusing the file status with the add-on status. When awaiting review, the file status can be 1 for all cases. The add-on status can be different, though, and that's what determines if it is up for full review or preliminary.
(In reply to comment #10)
> Having a different status is unnecessary.

To elaborate on this point, all we need to know is that the file is pending review. The text that needs to be presented to the developer (and where to locate it in the review queues) depends on the status of the add-on.

If it is "Public", "In Sandbox; Nominated" or "Preliminarily Reviewed; Nominated", then the text should say it is awaiting full review.

If it is "In Sandbox; Awaiting Prelim Review" or "Preliminarily Reviewed", then it should say it is awaiting preliminary review.

For "Admin Disabled" and "Incomplete" it should probably say something else.
https://github.com/jbalogh/zamboni/commit/ef14266c9dc01861926d1f866b537288dc4d37a3
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
verified @ https://addons.allizom.org/z/en-US/editors/review/398914?num=7
Status: RESOLVED → VERIFIED
Attached image post-fix screenshot
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: