Page MenuHomePhabricator

Fix an issue where "Request Review" of a fully-accepted revision would transition to "Accepted"
ClosedPublic

Authored by epriestley on Mar 28 2017, 12:52 PM.
Tags
None
Referenced Files
F14818005: D17566.id42270.diff
Tue, Jan 28, 2:21 AM
F14818004: D17566.id42263.diff
Tue, Jan 28, 2:21 AM
F14818003: D17566.id.diff
Tue, Jan 28, 2:21 AM
Unknown Object (File)
Sat, Jan 25, 2:36 PM
Unknown Object (File)
Fri, Jan 24, 3:38 AM
Unknown Object (File)
Tue, Jan 21, 3:14 PM
Unknown Object (File)
Tue, Jan 21, 12:28 PM
Unknown Object (File)
Fri, Jan 17, 11:43 PM
Subscribers
None

Details

Summary

Ref T10967. This is explained in more detail in T10967#217125

When an author does "Request Review" on an accepted revision, void (in the sense of "cancel out", like a bank check) any "accepted" reviewers on the current diff.

Test Plan
  • Create a revision with author A and reviewer B.
  • Accept as B.
  • "Request Review" as A.
  • (With sticky accepts enabled.)
  • Before patch: revision swithced back to "accepted".
  • After patch: the earlier review is "voided" by te "Request Review", and the revision switches to "Review Requested".

Diff Detail

Repository
rP Phabricator
Branch
review1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16188
Build 21491: Run Core Tests
Build 21490: arc lint + arc unit