Closed
Bug 1848209
Opened 11 months ago
Closed 11 months ago
Approval flags are not set properly when should be when new revisions are created and status is draft
Categories
(bugzilla.mozilla.org :: Phabricator Integration, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dkl, Assigned: dkl)
Details
Attachments
(1 file)
Suhaib reported another approval flag not being set properly on bug 1846854
- D185765 was in Draft status when the approval flags are checked so the X status was used
- The feed code updates the status to needs-review after the approval flag check so we need to reorder.
- When the user on D185765 added an uplift request as a new change to the same revision, the feed code returned early after the uplift form values were processed so the approval flag check was not ran again which would have set the flag that time.
Possible fixes are:
- move the code that sets the status to request-review above the loop that modifies attachments
- do a second loop over the attachments and set the approval flags after the revision status has been fixed
- have the draft state to map to the ? flag status in the status map
The easiest fix is to make the flag ? when state is draft since most of the time the revision will go from draft to needs-review right after and will never go back to draft.
Comment 1•11 months ago
|
||
Assignee | ||
Comment 2•11 months ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•