[jira] [Commented] (JCR-3770) refine validateHierarchy check in order to avoid false-positives

2014-06-10 Thread Manfred Baedke (JIRA)

[ 
https://issues.apache.org/jira/browse/JCR-3770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14026442#comment-14026442
 ] 

Manfred Baedke commented on JCR-3770:
-

Merged change 1587619 into branch 2.6 in revision 1601634.

 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
 Fix For: 2.6.6, 2.8


 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)


[jira] [Commented] (JCR-3770) refine validateHierarchy check in order to avoid false-positives

2014-04-15 Thread Stefan Guggisberg (JIRA)

[ 
https://issues.apache.org/jira/browse/JCR-3770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969585#comment-13969585
 ] 

Stefan Guggisberg commented on JCR-3770:


JCR-2598 introduced the optional validateHierarchy check

 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)