Author: dkuleshov
Date: 2011-09-15 08:44:37 -0400 (Thu, 15 Sep 2011)
New Revision: 4916
Added:
jcr/branches/1.12.x/patch/1.12.11-GA/JCR-1667/
jcr/branches/1.12.x/patch/1.12.11-GA/JCR-1667/JCR-1667.patch
Log:
JCR-1667: patch added
Added: jcr/branches/1.12.x/patch/1.12.11-GA/JCR-1667/JCR-1667.patch
===================================================================
--- jcr/branches/1.12.x/patch/1.12.11-GA/JCR-1667/JCR-1667.patch
(rev 0)
+++ jcr/branches/1.12.x/patch/1.12.11-GA/JCR-1667/JCR-1667.patch 2011-09-15 12:44:37 UTC
(rev 4916)
@@ -0,0 +1,23 @@
+Index:
exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/hierarchy/impl/NodeHierarchyCreatorImpl.java
+===================================================================
+---
exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/hierarchy/impl/NodeHierarchyCreatorImpl.java (revision
4915)
++++
exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/hierarchy/impl/NodeHierarchyCreatorImpl.java (working
copy)
+@@ -241,7 +241,6 @@
+ getSession(sessionProvider, currentRepo,
currentRepo.getConfiguration().getDefaultWorkspaceName());
+ Node rootNode = session.getRootNode();
+ String publicApplication = getJcrPath(PUBLIC_APPLICATION);
+- session.logout();
+ return rootNode.getNode(publicApplication.substring(1,
publicApplication.length()));
+ }
+
+@@ -262,10 +261,6 @@
+ userNode = usersNode.addNode(userName);
+ usersNode.save();
+ }
+- finally
+- {
+- session.logout();
+- }
+ return userNode;
+ }
+