fix updated
This commit is contained in:
parent
51cbd0776a
commit
7ebd1ae629
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue