[exo-jcr-commits] exo-jcr SVN: r3260 - jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/xml/importing.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Oct 8 06:07:12 EDT 2010


Author: tolusha
Date: 2010-10-08 06:07:12 -0400 (Fri, 08 Oct 2010)
New Revision: 3260

Modified:
   jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/xml/importing/SystemViewImporter.java
Log:
EXOJCR-955: NPE when try to import data via WorkspaceContentImporter

Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/xml/importing/SystemViewImporter.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/xml/importing/SystemViewImporter.java	2010-10-08 09:34:35 UTC (rev 3259)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/xml/importing/SystemViewImporter.java	2010-10-08 10:07:12 UTC (rev 3260)
@@ -314,7 +314,7 @@
          checkProperties(currentNodePropertiesInfo);
       }
       
-      mapNodePropertiesInfo.remove(currentNodeInfo.getQPath().getAsString());
+      mapNodePropertiesInfo.remove(currentNodeInfo.getIdentifier());
 
       currentNodeInfo.setMixinTypeNames(currentNodeInfo.getMixinTypeNames());
 



More information about the exo-jcr-commits mailing list