This commit is contained in:
Lucio Lelii 2019-06-19 14:05:05 +00:00
parent 11d3f3d9b4
commit 53af4bc43b
1 changed files with 6 additions and 6 deletions

View File

@ -129,15 +129,15 @@ public class ItemsCreator {
authChecker.checkWriteAuthorizationControl(ses, destination.getIdentifier(), true); authChecker.checkWriteAuthorizationControl(ses, destination.getIdentifier(), true);
Utils.acquireLockWithWait(ses, destination.getPath(), false, login, 10); //Utils.acquireLockWithWait(ses, destination.getPath(), false, login, 10);
Node newNode; Node newNode;
try { //try {
newNode = Utils.createFolderInternally(ses, destination, name, description, hidden, login, accountingHandler); newNode = Utils.createFolderInternally(ses, destination, name, description, hidden, login, accountingHandler);
ses.save(); ses.save();
} finally { /*} finally {
ses.getWorkspace().getLockManager().unlock(destination.getPath()); ses.getWorkspace().getLockManager().unlock(destination.getPath());
} }*/
log.info("item with id {} correctly created",newNode.getIdentifier()); log.info("item with id {} correctly created",newNode.getIdentifier());
toReturn = newNode.getIdentifier(); toReturn = newNode.getIdentifier();