Author: tolusha
Date: 2011-11-08 08:27:10 -0500 (Tue, 08 Nov 2011)
New Revision: 5173
Modified:
jcr/trunk/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/hierarchy/impl/NodeHierarchyCreatorImpl.java
Log:
EXOJCR-1621: Migration tool and guideline for migration from 1.12.10-GA to 1.14.x
Modified:
jcr/trunk/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/hierarchy/impl/NodeHierarchyCreatorImpl.java
===================================================================
---
jcr/trunk/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/hierarchy/impl/NodeHierarchyCreatorImpl.java 2011-11-08
12:57:43 UTC (rev 5172)
+++
jcr/trunk/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/hierarchy/impl/NodeHierarchyCreatorImpl.java 2011-11-08
13:27:10 UTC (rev 5173)
@@ -379,10 +379,8 @@
{
if (!oldDistribution && autoMigrate)
{
-
ManageableRepository repo = jcrService_.getCurrentRepository();
- Session session = repo.login();
-
+ Session session =
repo.getSystemSession(repo.getConfiguration().getDefaultWorkspaceName());
try
{
String userPath = getJcrPath(USERS_PATH);
Show replies by date