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
F14760671: D17605.id42347.diff
Wed, Jan 22, 7:47 PM
Unknown Object (File)
Tue, Jan 21, 9:23 AM
Unknown Object (File)
Mon, Jan 20, 9:06 PM
Unknown Object (File)
Wed, Jan 15, 9:38 AM
Unknown Object (File)
Mon, Jan 6, 2:09 PM
Unknown Object (File)
Thu, Jan 2, 11:59 PM
Unknown Object (File)
Fri, Dec 27, 7:44 AM
Unknown Object (File)
Dec 20 2024, 7:59 PM
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.