Page MenuHomePhabricator

Destroy notifications properly from `bin/remove destroy`
ClosedPublic

Authored by epriestley on May 18 2015, 7:28 PM.
Tags
None
Referenced Files
F13143262: D12907.diff
Fri, May 3, 7:21 AM
Unknown Object (File)
Thu, Apr 25, 1:29 AM
Unknown Object (File)
Thu, Apr 11, 8:59 AM
Unknown Object (File)
Tue, Apr 9, 2:33 AM
Unknown Object (File)
Mar 31 2024, 12:19 PM
Unknown Object (File)
Mar 31 2024, 2:01 AM
Unknown Object (File)
Mar 29 2024, 1:58 AM
Unknown Object (File)
Mar 23 2024, 3:26 PM
Subscribers

Details

Summary

Fixes T8237. This table is unusual and doesn't have an id column, so delete() doesn't actually know how to delete records and fails.

Test Plan
  • Used bin/remove destroy to destroy an object with notifications, as per T8237.
  • Applied patch.
  • Used bin/remove destroy to get a clean delete.
  • Verified related notifications vanished from notification menu.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Destroy notifications properly from `bin/remove destroy`.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.May 18 2015, 7:29 PM
This revision was automatically updated to reflect the committed changes.