mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
57054: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3) 56522: Merged HEAD-BUG-FIX to V4.2-BUG-FIX (4.2.1) 56431: (MNT-9755) ALF-20071 -NodeMonitor onUpdateProperties method can be optimized git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61688 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -279,12 +279,12 @@ public class NodeMonitor extends TransactionListenerAdapter
|
||||
String beforeName = (String) before.get(ContentModel.PROP_NAME);
|
||||
String afterName = (String) after.get(ContentModel.PROP_NAME);
|
||||
|
||||
Path nodePath = m_nodeService.getPath(nodeRef);
|
||||
String relPath = nodePath.toDisplayPath(m_nodeService, m_permissionService);
|
||||
|
||||
if (( beforeLock != null && afterLock == null) ||
|
||||
( beforeLock == null && afterLock != null))
|
||||
{
|
||||
Path nodePath = m_nodeService.getPath(nodeRef);
|
||||
String relPath = nodePath.toDisplayPath(m_nodeService, m_permissionService);
|
||||
|
||||
// Process the lock update first
|
||||
fireNodeEvent(new LockNodeEvent( fType, nodeRef, relPath, beforeName, beforeLock, afterLock));
|
||||
}
|
||||
|
Reference in New Issue
Block a user