You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2020/10/21 03:13:06 UTC

[sling-org-apache-sling-jcr-contentloader] branch SLING-9844-import-save-node-issue created (now 76f6929)

This is an automated email from the ASF dual-hosted git repository.

dklco pushed a change to branch SLING-9844-import-save-node-issue
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-contentloader.git.


      at 76f6929  Fixes SLING-9844: Removing the node save to fix issue where import breaks on complex node structures

This branch includes the following new commits:

     new 76f6929  Fixes SLING-9844: Removing the node save to fix issue where import breaks on complex node structures

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[sling-org-apache-sling-jcr-contentloader] 01/01: Fixes SLING-9844: Removing the node save to fix issue where import breaks on complex node structures

Posted by dk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch SLING-9844-import-save-node-issue
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-contentloader.git

commit 76f69296feeff1cd8ef50dca0f3eae748f9c8092
Author: Dan Klco <dk...@apache.org>
AuthorDate: Tue Oct 20 23:12:44 2020 -0400

    Fixes SLING-9844: Removing the node save to fix issue where import breaks on complex node structures
---
 .../apache/sling/jcr/contentloader/internal/DefaultContentCreator.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/jcr/contentloader/internal/DefaultContentCreator.java b/src/main/java/org/apache/sling/jcr/contentloader/internal/DefaultContentCreator.java
index c95bd8c..8d2e7b0 100644
--- a/src/main/java/org/apache/sling/jcr/contentloader/internal/DefaultContentCreator.java
+++ b/src/main/java/org/apache/sling/jcr/contentloader/internal/DefaultContentCreator.java
@@ -455,7 +455,6 @@ public class DefaultContentCreator implements ContentCreator {
         cleanUpNode(node);
         // resolve REFERENCE property values pointing to this node
         resolveReferences(node);
-        node.getSession().save();
     }
 
     private void cleanUpNode(Node node) throws RepositoryException {