jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r918902 - in /jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit: spi2dav/RepositoryServiceImpl.java spi2davex/RepositoryServiceImpl.java
Date Thu, 04 Mar 2010 09:03:36 GMT
Author: angela
Date: Thu Mar  4 09:03:36 2010
New Revision: 918902

URL: http://svn.apache.org/viewvc?rev=918902&view=rev
Log:
JCR-2537: spi2davex: clear uri-lookup after removing node identified with uniqueID

Modified:
    jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
    jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2davex/RepositoryServiceImpl.java

Modified: jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java?rev=918902&r1=918901&r2=918902&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
Thu Mar  4 09:03:36 2010
@@ -2572,6 +2572,9 @@
             DeleteMethod method = new DeleteMethod(uri);
 
             methods.add(method);
+            if (itemId.getPath() == null) {
+                clear = true;
+            }
         }
 
         /**

Modified: jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2davex/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2davex/RepositoryServiceImpl.java?rev=918902&r1=918901&r2=918902&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2davex/RepositoryServiceImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2davex/RepositoryServiceImpl.java
Thu Mar  4 09:03:36 2010
@@ -579,6 +579,10 @@
             }
             String rmJcrPath = getNamePathResolver(sessionInfo).getJCRPath(rmPath);
             appendDiff(SYMBOL_REMOVE, rmJcrPath, null);
+
+            if (itemId.getPath() == null) {
+                clear = true;
+            }
         }
 
         /**



Mime
View raw message