fix updated

master
lucio.lelii 3 years ago
parent 51cbd0776a
commit 7ebd1ae629

@ -267,10 +267,7 @@ public class ItemHandler {
authChecker.checkWriteAuthorizationControl(ses, login, newNode.getIdentifier(), false);
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) {
try {
ses.getWorkspace().getLockManager().lock(newNode.getPath(), true, true, 0,login);

Loading…
Cancel
Save