Stefan Guggisberg created JCR-3770:
--------------------------------------

             Summary: refine validateHierarchy check in order to avoid 
false-positives
                 Key: JCR-3770
                 URL: https://issues.apache.org/jira/browse/JCR-3770
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
            Reporter: Stefan Guggisberg
            Assignee: Stefan Guggisberg


if a node is deleted and re-added with the same nodeId (within the same 
changeLog), validateHierarchy might mistakenly throw an exception, e.g. 
{code}
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)
...
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to