Merge branch 'master' of git.alfresco.com:records-management/records-management into RM-5115_FixListCatChildrenRestAPI

This commit is contained in:
Sara Aspery
2017-05-09 14:35:53 +01:00
5 changed files with 7 additions and 7 deletions

View File

@@ -1798,7 +1798,7 @@ public class RecordServiceImpl extends BaseBehaviourBean
)
public void onContentUpdate(NodeRef nodeRef, boolean newContent)
{
if (!nodeService.hasAspect(nodeRef, ContentModel.ASPECT_HIDDEN) && !nodeService.hasAspect(nodeRef, ContentModel.ASPECT_LOCKABLE))
if (nodeService.exists(nodeRef) && !nodeService.hasAspect(nodeRef, ContentModel.ASPECT_HIDDEN) && !nodeService.hasAspect(nodeRef, ContentModel.ASPECT_LOCKABLE))
{
appendIdentifierToName(nodeService, nodeRef);
}