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

refine validateHierarchy check in order to avoid false-positives

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8, 2.6.6
    • jackrabbit-core
    • None

    Description

      if a node is deleted and re-added with the same nodeId (within the same changeLog), validateHierarchy might mistakenly throw an exception, e.g.

      Caused by: org.apache.jackrabbit.core.state.ItemStateException: Parent of node with id 37e8c22a-5fa7-4dd8-908e-c94249f3715a has been deleted
      at org.apache.jackrabbit.core.state.SharedItemStateManager.validateModified(SharedItemStateManager.java:1352)
      at org.apache.jackrabbit.core.state.SharedItemStateManager.validateHierarchy(SharedItemStateManager.java:1199)
      ...
      

      Attachments

        Issue Links

          Activity

            People

              stefan@jira Stefan Guggisberg
              stefan@jira Stefan Guggisberg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: