Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1685

Referential Integrity error with child node + reference property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.0.0.CR3
    • 3.0.0.CR2
    • JCR
    • None

    Description

      I have the following simple test case for this problem:

      1) Create NodeA
      2) Create NodeB
      3) Create NodeB/Rel with reference property pointing to Node A
      4) session.save()
      5) Delete NodeB (should delete all its children + refs?)
      6) session.save()
      7) Delete NodeA (should be ok to do if B was deleted)
      8) session.save() ==> results in Referential Integrity Error

      It seems that the reference from the property in NodeB/Rel is not deleted when NodeB is deleted.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            ewittman@redhat.com Eric Wittmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: