Page MenuHomePhabricator

Fix a case where "Accept + Comment" would ignore the "Accept"
ClosedPublic

Authored by epriestley on Jan 5 2017, 7:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 9:44 PM
Unknown Object (File)
Thu, Dec 5, 5:49 AM
Unknown Object (File)
Thu, Dec 5, 2:17 AM
Unknown Object (File)
Wed, Dec 4, 8:18 AM
Unknown Object (File)
Tue, Nov 26, 1:48 AM
Unknown Object (File)
Fri, Nov 22, 7:33 AM
Unknown Object (File)
Oct 26 2024, 7:57 PM
Unknown Object (File)
Oct 15 2024, 2:26 AM
Subscribers
None

Details

Summary

Ref T11114. When you comment, we try to upgrade your review status to "commented".

This can conflict with upgrading it to "accepted" or "rejected", or removing it entirely.

For now, just avoid making this update. After T10967, I expect "you commented" to be orthogonal to accepted/rejected so it should stop conflicting on its own.

Test Plan
  • As an "added" reviewer, accepted a revision with a comment in the same transaction.
  • Before patch: accept didn't stick.
  • After patch: accept sticks.

This may be somewhat magical/order-dependent but I was able to reproduce it locally.

Diff Detail

Repository
rP Phabricator
Branch
review1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 15118
Build 19850: Run Core Tests
Build 19849: arc lint + arc unit