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
F13191023: D14457.id34957.diff
Sat, May 11, 4:22 PM
F13180323: D14457.id.diff
Wed, May 8, 11:13 PM
Unknown Object (File)
Mon, May 6, 5:48 AM
Unknown Object (File)
Sat, May 4, 5:36 PM
Unknown Object (File)
Thu, Apr 25, 2:03 AM
Unknown Object (File)
Thu, Apr 25, 1:34 AM
Unknown Object (File)
Tue, Apr 16, 3:45 PM
Unknown Object (File)
Apr 11 2024, 9:11 AM
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
Branch
no-blog
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 8767
Build 10202: Run Core Tests
Build 10201: arc lint + arc unit

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.