Page MenuHome

Deleting a node should delete its children
Open, NormalPublic

Description

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.

Details

Type
Bug

Event Timeline

Sybren A. Stüvel (sybren) lowered the priority of this task from Needs Triage by Developer to Normal.Nov 23 2018, 12:08 PM
Sybren A. Stüvel (sybren) created this task.
Sybren A. Stüvel (sybren) updated the task description. (Show Details)