Uploaded image for project: 'Repository'
  1. Repository
  2. REPOSITORY-92

Add a "cascade" option to delete a node which is referenced

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • 2.0.0RC1
    • Workspace
    • None
    • 3 - For the record
    • 2 - Normal

      Deleting a referenced node is impossible, an error is thrown when trying it. We have to delete the referer node first, then we can safely delete the node.

      It becomes problematic when two contents reference each other : as each one is at the same time the referer and the referred, we can delete none. The only solution to do that is to delete the reference property on one node, then delete the node which isn't referenced anymore, then delete the other node.

      As it's a bit of a bother, it would be interesting to have a "cascade" option on the delete node operation, which would recursively delete the nodes referencing the node to delete, then the nodes referencing the referers, and so on.

            Unassigned Unassigned
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: