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
F18808704: D21421.id.diff
Sun, Oct 19, 8:07 AM
F18807078: D21421.diff
Sat, Oct 18, 10:56 PM
F18774703: D21421.id.diff
Oct 10 2025, 4:40 PM
F18759410: D21421.diff
Oct 6 2025, 3:41 AM
F18667541: D21421.id50969.diff
Sep 24 2025, 11:30 AM
F18646565: D21421.diff
Sep 19 2025, 10:22 AM
F18571148: D21421.id50970.diff
Sep 10 2025, 4:45 AM
F18571147: D21421.id50969.diff
Sep 10 2025, 4:45 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