Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3635

Manually specified jcr:frozenUuid overwriting the one assigned by the VersionManager when versioning node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 0.9, 2.4.5, 2.6.4, 2.7.1
    • versioning
    • None

    Description

      Let's assume we have node N with a manually assigned jcr:frozenUuid property (e.g. taken from an existing frozenNode version of another node).

      When creating versions of node N, the manually assigned frozenUuid property will overwrite the frozenUuid automatically created by the VersionManager in the versioning process because the jcr:frozenUuid property is not skipped when copying the existing properties from the versioned node to the frozen node in the version subtree.
      This can potentially cause issues whenever the jcr:frozenUuid is used in the future, since it would basically point to a different versioned node.

      Attachments

        1. JCR-3635.patch
          0.9 kB
          Florin Iordache
        2. CopyFrozenUuidTest.java
          2 kB
          Florin Iordache

        Activity

          People

            jukkaz Jukka Zitting
            florin.iordache Florin Iordache
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: