Deleting a node should delete its children #58013
Loading…
x
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