You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ie...@apache.org on 2010/01/11 16:39:25 UTC

svn commit: r897911 - /sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/operations/CopyOperation.java

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