Deleting a node should delete its children #58013
Labels
No Label
legacy project
Infrastructure: Websites
legacy project
Pillar
legacy project
Pillar Framework
legacy project
Pillar Website
Priority::High
Priority::Low
Priority::Normal
Status::Archived
Status::Confirmed
Status::Resolved
Type::Bug
Type::Design
Type::Patch
Type::Report
Type::To Do
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: archive/pillar#58013
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For example this asset on Spring is shown in search results because it has
_deleted: false
. However, visiting that link still shows "Not Found" because its parent group node was deleted.Probably best to just delete child nodes when a parent is deleted. This would thus also include comments on an asset, notifications, etc.
It would be nice to have a visualisation of what'll be deleted when you delete a node.
We probably also want a CLI command to delete children of deleted nodes, so that we can clean up the current database.
Added subscriber: @dr.sybren