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)
Tue, Jun 3, 10:38 PM
Unknown Object (File)
Apr 30 2025, 1:01 AM
Unknown Object (File)
Apr 29 2025, 10:24 PM
Unknown Object (File)
Apr 10 2025, 10:51 AM
Unknown Object (File)
Apr 5 2025, 2:25 PM
Unknown Object (File)
Mar 9 2025, 4:57 AM
Unknown Object (File)
Mar 8 2025, 7:15 PM
Unknown Object (File)
Mar 8 2025, 6:11 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable