Page MenuHomePhabricator

Destroy notifications properly from `bin/remove destroy`
ClosedPublic

Authored by epriestley on May 18 2015, 7:28 PM.
Tags
None
Referenced Files
F14040248: D12907.diff
Mon, Nov 11, 8:23 AM
F14024261: D12907.diff
Thu, Nov 7, 7:39 AM
F14007550: D12907.id31045.diff
Tue, Oct 29, 7:42 AM
F14005979: D12907.diff
Sun, Oct 27, 10:58 PM
F13999045: D12907.id.diff
Thu, Oct 24, 12:36 PM
F13997340: D12907.id.diff
Thu, Oct 24, 3:49 AM
F13995617: D12907.id31045.diff
Wed, Oct 23, 2:16 PM
F13971739: D12907.id31046.diff
Oct 17 2024, 3:04 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.