mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
- Fixed bug when moving a locked node in the UI
- Added 'run action' to menu for linked content and folders git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
lock_service.insufficent_privileges=You have insufficent privileges to release the lock on the node (id: {0}). The node is locked by another user.
|
lock_service.insufficent_privileges=You have insufficent privileges to release the lock on the node (id: {0}). The node is locked by another user.
|
||||||
lock_service.node_locked=The node (id: {0}) could not be locked since it is already locked by another user.
|
lock_service.node_locked=The node (id: {0}) could not be locked since it is already locked by another user.
|
||||||
lock_service.no_op=Can not perform operation since the node (id:{0}) is locked by another user.
|
lock_service.no_op=Can not perform operation since the node (id:{0}) is locked.
|
||||||
lock_service.no_op2=Can not perform operation {0} since the node (id:{1}) is locked by another user.
|
lock_service.no_op2=Can not perform operation {0} since the node (id:{1}) is locked.
|
||||||
|
@@ -518,8 +518,14 @@ public class FileFolderServiceImpl implements FileFolderService
|
|||||||
qname,
|
qname,
|
||||||
true);
|
true);
|
||||||
}
|
}
|
||||||
// changed the name property
|
|
||||||
nodeService.setProperty(targetNodeRef, ContentModel.PROP_NAME, newName);
|
// Only update the name if it has changed
|
||||||
|
String currentName = (String)nodeService.getProperty(targetNodeRef, ContentModel.PROP_NAME);
|
||||||
|
if (currentName.equals(newName) == false)
|
||||||
|
{
|
||||||
|
// changed the name property
|
||||||
|
nodeService.setProperty(targetNodeRef, ContentModel.PROP_NAME, newName);
|
||||||
|
}
|
||||||
|
|
||||||
// get the details after the operation
|
// get the details after the operation
|
||||||
FileInfo afterFileInfo = toFileInfo(targetNodeRef);
|
FileInfo afterFileInfo = toFileInfo(targetNodeRef);
|
||||||
|
Reference in New Issue
Block a user