incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r679285 - /incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java
Date Thu, 24 Jul 2008 06:34:00 GMT
Author: cziegeler
Date: Wed Jul 23 23:33:59 2008
New Revision: 679285

URL: http://svn.apache.org/viewvc?rev=679285&view=rev
Log:
Refresh session before save.

Modified:
    incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java

Modified: incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java?rev=679285&r1=679284&r2=679285&view=diff
==============================================================================
--- incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java
(original)
+++ incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java
Wed Jul 23 23:33:59 2008
@@ -251,6 +251,7 @@
             }
 
             // persist modifications now
+            session.refresh(true);
             session.save();
 
             // finally checkin versionable nodes



Mime
View raw message