Page MenuHomePhabricator

Don't downgrade accepts on update (fix "sticky accept")
ClosedPublic

Authored by epriestley on Apr 3 2017, 3:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 31 2025, 4:52 AM
Unknown Object (File)
May 29 2025, 9:13 AM
Unknown Object (File)
May 29 2025, 7:55 AM
Unknown Object (File)
May 28 2025, 10:23 AM
Unknown Object (File)
May 5 2025, 8:09 AM
Unknown Object (File)
Apr 12 2025, 3:29 PM
Unknown Object (File)
Apr 12 2025, 10:51 AM
Unknown Object (File)
Apr 11 2025, 7:53 AM
Subscribers
None

Details

Summary

Fixes T12496. Sticky accept was accidentally impacted by the "void" changes in D17566.

Instead, don't always downgrade all accepts/rejects: on update, we only want to downgrade accepts.

Test Plan
  • With sticky accept off, updated an accepted revision: new state is "needs review".
  • With sticky accept on, updated an accepted revision: new state is "accepted" (sticky accept working correctly).
  • Did "reject" + "request review" to make sure that still works, worked fine.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 3 2017, 4:54 PM
This revision was automatically updated to reflect the committed changes.