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

Session.getNodeByIdentifier should not return the version history of a node

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.6.0.Final, 3.3.x-prod-ip6.0
    • 3.5.0.Final
    • None
    • None

    Description

      When versioning nodes, ModeShape uses the same NodeKey as the versioned node for the versionHistory node which is stored in the system area.

      This exposes the problem that after a versionable node is removed, a user can still use its ID and call session.getNodeByIdentifier which will return the versionHistory node.

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            hchiorean Horia Chiorean (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: