incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject svn commit: r897911 - /sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/operations/CopyOperation.java
Date Mon, 11 Jan 2010 15:39:25 GMT
Author: ieb
Date: Mon Jan 11 15:39:24 2010
New Revision: 897911

URL: http://svn.apache.org/viewvc?rev=897911&view=rev
Log:
SLING-1281 adding a parent save pushes the state of the removal into the transientStore in
the SessionItemStateManager removing the error.

Modified:
    sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/operations/CopyOperation.java

Modified: sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/operations/CopyOperation.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/operations/CopyOperation.java?rev=897911&r1=897910&r2=897911&view=diff
==============================================================================
--- sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/operations/CopyOperation.java
(original)
+++ sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/operations/CopyOperation.java
Mon Jan 11 15:39:24 2010
@@ -103,6 +103,7 @@
         // ensure new node creation
         if (dstParent.hasNode(name)) {
             dstParent.getNode(name).remove();
+            dstParent.save();
         }
 
         // create new node



Mime
View raw message