mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Added null check.
This commit is contained in:
@@ -1104,6 +1104,8 @@ public class DispositionServiceImpl extends ServiceBaseImpl
|
||||
if (nextDispositionAction != null)
|
||||
{
|
||||
NextActionFromDisposition dsNextAction = getNextDispositionAction(record, recordFolders, nextDispositionAction);
|
||||
if (dsNextAction != null)
|
||||
{
|
||||
final NodeRef action = dsNextAction.getNextActionNodeRef();
|
||||
final Date dispositionActionDate = dsNextAction.getNextActionDateAsOf();
|
||||
AuthenticationUtil.runAsSystem(new RunAsWork<Void>()
|
||||
@@ -1117,6 +1119,7 @@ public class DispositionServiceImpl extends ServiceBaseImpl
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper method to determine if a node is frozen or has frozen children
|
||||
|
Reference in New Issue
Block a user