fix updated

This commit is contained in:
lucio.lelii 2021-10-06 11:56:57 +02:00
parent 51cbd0776a
commit 7ebd1ae629
1 changed files with 1 additions and 4 deletions

View File

@ -268,9 +268,6 @@ public class ItemHandler {
AbstractFileItem item = fillItemWithContent(stream, storageBackend, name, description, relativePath,login); AbstractFileItem item = fillItemWithContent(stream, storageBackend, name, description, relativePath,login);
if (destinationNode.hasProperty(NodeProperty.HIDDEN.toString()))
item.setHidden(destinationNode.getProperty(NodeProperty.HIDDEN.toString()).getBoolean());
if (withLock) { if (withLock) {
try { try {
ses.getWorkspace().getLockManager().lock(newNode.getPath(), true, true, 0,login); ses.getWorkspace().getLockManager().lock(newNode.getPath(), true, true, 0,login);