Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-1362

Deleting referenced node removes all property values on referrer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.1.0
    • Fix Version/s: Fedora 4.1.1
    • Component/s: f4-core
    • Labels:
      None
    • Environment:
      RHEL6, Java 7, Tomcat 7, fcrepo 4.1.0
    • Sprint:
      Sprint 2015 - 3

      Description

      Steps to reproduce:

      • Create containers: /test, /test/res1, /test/res2
      • Add property to /test: INSERT { <> myns:rel </test/res1>, </test/res2> }

        WHERE {}

      • Verify that multi-valued property is set in /test referring to both resources
      • Delete either /test/res1 or /test/res2

      Result: myns:rel does not appear in /test any more; both relationships are deleted
      Expected: only the relationship with the deleted node should be deleted

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                whikloj Jared Whiklo
                Reporter:
                scossu Stefano Cossu
                Reviewer:
                Andrew Woods
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: