You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
When we save a changeset (snapshot) as a draft, we go through and transition any related auto-draft-status posts to customize-draft. This is to prevent the posts referenced in the changeset from erroneously garbage-collected when the changeset itself is persistent. However, what we're not accounting for is the case when the changeset itself is deleted without ever having been published. What we're not doing is deleting all of these related customize-draft-status posts and so they are going to be sticking around forever, orphaned from any changeset.
The text was updated successfully, but these errors were encountered:
@PatelUtkarsh isn't this already accounted for by delete_changeset_nav_menus_created_auto_draft_posts in the proof of concept? It skips rolling back the post_date of related auto-draft posts upon trashing by instead just waiting to delete the posts until the changeset is deleted entirely.
And yes, using this technique of setting the post_date for auto-draft posts far into into future will allow us to eliminate the separate customize-draft status entirely.
When we save a changeset (snapshot) as a
draft
, we go through and transition any relatedauto-draft
-status posts tocustomize-draft
. This is to prevent the posts referenced in the changeset from erroneously garbage-collected when the changeset itself is persistent. However, what we're not accounting for is the case when the changeset itself is deleted without ever having been published. What we're not doing is deleting all of these relatedcustomize-draft
-status posts and so they are going to be sticking around forever, orphaned from any changeset.The text was updated successfully, but these errors were encountered: