|
|
|
@ -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);
|
|
|
|
|