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

Deleting versioned resource does not delete all version information

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.5.1
    • Fix Version/s: Fedora 4.6.0
    • Component/s: f4-core
    • Labels:
    • Roadmap Theme:
      Services: Versioning
    • Sprint:
      Sprint 2015 - 15

      Description

      When deleting a versioned object, it appears that not all of the version information for the object is deleted. This poses a problem for us when the deleted versioned object contained a reference to another object because now we cannot delete the referenced object. This seems like a bug?

      Here is the scenario.
      - Create two objects A and B.
      - Give object B a relationship (e.g., isMemberOfCollection) to object A.
      - Create a version of object B.
      - Delete object B.
      - Attempt to delete object A fails with the following error message:
      javax.jcr.nodetype.ConstraintViolationException: The property '/jcr:system/jcr:versionStorage/af/f8/65/aff8653c5b09eb3fdfb3044ef04f315c3d2dc012/1.0/jcr:frozenNode/ns009:isMemberOfCollection_ref' is protected and cannot be removed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                awoods Andrew Woods
                Reporter:
                coblej Jim Coble
                Reviewer:
                Esmé Cowles
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: