mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM: Fix build
* double check existance of node ref prior to work git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@56793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -96,6 +96,9 @@ public class PublishUpdatesJobExecuter extends RecordsManagementJobExecuter
|
||||
|
||||
// Deal with each updated disposition action in turn
|
||||
for (NodeRef nodeRef : nodeRefs)
|
||||
{
|
||||
// double check that the node in question still exists
|
||||
if (nodeService.exists(nodeRef) == true)
|
||||
{
|
||||
// Mark the update node as publishing in progress
|
||||
markPublishInProgress(nodeRef);
|
||||
@@ -129,6 +132,7 @@ public class PublishUpdatesJobExecuter extends RecordsManagementJobExecuter
|
||||
unmarkPublishInProgress(nodeRef);
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
};
|
||||
}, AuthenticationUtil.getSystemUserName());
|
||||
|
Reference in New Issue
Block a user