Page MenuHomePhabricator

Make updates of rejected revisions behave correctly again
ClosedPublic

Authored by epriestley on Mar 5 2014, 1:55 AM.
Tags
None
Referenced Files
F15464681: D8402.id19956.diff
Wed, Apr 2, 12:16 PM
F15452280: D8402.id19969.diff
Sat, Mar 29, 3:30 AM
F15445544: D8402.diff
Thu, Mar 27, 2:30 PM
F15429812: D8402.id19969.diff
Mon, Mar 24, 4:24 AM
F15429808: D8402.diff
Mon, Mar 24, 4:23 AM
F15386616: D8402.id19969.diff
Sat, Mar 15, 12:57 AM
F15290391: D8402.id.diff
Mar 4 2025, 11:15 PM
F15283138: D8402.id19969.diff
Mar 4 2025, 5:31 AM
Subscribers

Details

Summary

Ref T2222. Ref T4481. Specifically:

  • When a revision is updated, change all "Reject" reviewers to "Reject Prior".
  • Change status to "Needs Review".
  • Update the state logic to account for this properly.
Test Plan
  • Created a revision as user A, with B as a reviewer.
  • Rejected as B.
  • Updated the revision as A.
  • Saw revision in "needs review" state, with B as a "Rejected Prior" reviewer.

Diff Detail

Repository
rP Phabricator
Branch
statetrans2
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/applications/differential/editor/DifferentialTransactionEditor.php:227XHP16TODO Comment
Unit
Tests Passed

Event Timeline

btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 5 2014, 6:35 PM