Page MenuHomePhabricator

Fix an issue with destruction of Revision and Diff objects with viewstates
ClosedPublic

Authored by epriestley on Jul 22 2020, 6:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 3, 3:03 AM
Unknown Object (File)
Sat, Jan 25, 8:32 AM
Unknown Object (File)
Sat, Jan 25, 8:32 AM
Unknown Object (File)
Sat, Jan 25, 8:32 AM
Unknown Object (File)
Sat, Jan 25, 8:31 AM
Unknown Object (File)
Wed, Jan 22, 4:05 AM
Unknown Object (File)
Tue, Jan 21, 9:21 AM
Unknown Object (File)
Sat, Jan 18, 5:17 AM
Subscribers
None

Details

Summary

See https://discourse.phabricator-community.org/t/domainexception-when-trying-to-remove-an-differentialrevision/4105.

These queries aren't actually constructed properly, and destroying a revision or diff with viewstates currently fails.

Test Plan

Used bin/remove destroy Dxxx to destroy a revision with viewstates (this also destroys the associated diffs).

Diff Detail

Repository
rP Phabricator
Branch
rmdiff
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24789
Build 34197: Run Core Tests
Build 34196: arc lint + arc unit