Page MenuHomePhabricator

Make deleting a blog a little easier to recover from
ClosedPublic

Authored by chad on Nov 10 2015, 7:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 28, 9:38 AM
Unknown Object (File)
Tue, May 27, 3:13 AM
Unknown Object (File)
Thu, May 8, 10:27 PM
Unknown Object (File)
Apr 28 2025, 9:35 PM
Unknown Object (File)
Apr 27 2025, 8:39 AM
Unknown Object (File)
Apr 26 2025, 2:40 AM
Unknown Object (File)
Apr 20 2025, 8:50 PM
Unknown Object (File)
Apr 20 2025, 3:46 PM
Subscribers

Details

Summary

We currently orphan posts when you delete a blog. Fixes some visibility and permission errors when that happens. Also... should allow you to archive posts.

Test Plan

Delete a blog, visit a post I made, still can see it.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Make deleting a blog a little easier to recover from.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
epriestley edited edge metadata.

We should disable this stuff rather than deleting it, and PostQuery should just refuse to load posts that don't have a blog. But we can fix that up later.

This revision is now accepted and ready to land.Nov 10 2015, 7:55 PM
This revision was automatically updated to reflect the committed changes.

ah true, then we don't orphan the post, it just stays on an archived blog.