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
F20582581: D21421.id.diff
Fri, Jun 19, 5:25 PM
Unknown Object (File)
Apr 2 2026, 7:51 PM
Unknown Object (File)
Apr 1 2026, 9:39 PM
Unknown Object (File)
Apr 1 2026, 9:57 AM
Unknown Object (File)
Apr 1 2026, 9:54 AM
Unknown Object (File)
Jan 4 2026, 2:17 AM
Unknown Object (File)
Oct 19 2025, 8:07 AM
Unknown Object (File)
Oct 18 2025, 10:56 PM
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