[exo-jcr-commits] exo-jcr SVN: r868 - jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Nov 25 11:18:10 EST 2009


Author: areshetnyak
Date: 2009-11-25 11:18:09 -0500 (Wed, 25 Nov 2009)
New Revision: 868

Modified:
   jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JBossCacheStorageConnection.java
Log:
EXOJCR-203 : Fix method JBossCacheStorageConnection.rename()

Modified: jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JBossCacheStorageConnection.java
===================================================================
--- jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JBossCacheStorageConnection.java	2009-11-25 15:27:16 UTC (rev 867)
+++ jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JBossCacheStorageConnection.java	2009-11-25 16:18:09 UTC (rev 868)
@@ -668,7 +668,7 @@
          {
             LOG.warn(" Node was updated before " + prevData.getQPath());
          }
-         else if (!prevParent.removeChild(cNode))
+         else if (!prevParent.removeChild(cNode.getFqn().getLastElement()))
          {
             throw new RepositoryException("FATAL Node was not removed from list of parent node "
                + prevData.getQPath().getAsString() + ". Node " + data.getQPath().getAsString());



More information about the exo-jcr-commits mailing list