jackrabbit-commits mailing list archives

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

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

-> same for clone with removeExisting flag

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

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=918908&r1=918907&r2=918908&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:19:22 2010
@@ -385,7 +385,9 @@
             getClient(sessionInfo).executeMethod(method);
 
             method.checkSuccess();
-
+            if (removeExisting) {
+                clearItemUriCache(sessionInfo);
+            }
         } catch (IOException e) {
             throw new RepositoryException(e);
         } catch (DavException e) {



Mime
View raw message