jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1001763 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SessionItemStateManager.java
Date Mon, 27 Sep 2010 14:44:52 GMT
Author: stefan
Date: Mon Sep 27 14:44:51 2010
New Revision: 1001763

URL: http://svn.apache.org/viewvc?rev=1001763&view=rev
Log:
JCR-2758: Session.save() potentially causes endless loop when READ permission is denied on
root node

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SessionItemStateManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SessionItemStateManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SessionItemStateManager.java?rev=1001763&r1=1001762&r2=1001763&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SessionItemStateManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SessionItemStateManager.java
Mon Sep 27 14:44:51 2010
@@ -547,7 +547,7 @@ public class SessionItemStateManager
                     }
                 }
                 if (continueWithParent) {
-                    state = (NodeState) getItemState(candidateId);
+                    state = (NodeState) getItemState(parentId);
                     parentId = state.getParentId();
                     continueWithParent = false;
                 } else {



Mime
View raw message