mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-6337 Fix failing tests
This commit is contained in:
@@ -814,7 +814,6 @@ public class DispositionServiceImpl extends ServiceBaseImpl
|
||||
|
||||
// Get the disposition instructions
|
||||
DispositionSchedule di = getDispositionSchedule(nodeRef);
|
||||
NodeRef accessionNodeRef = di.getDispositionActionDefinitionByName("accession").getNodeRef();
|
||||
DispositionAction nextDa = getNextDispositionAction(nodeRef);
|
||||
if (di != null &&
|
||||
this.nodeService.hasAspect(nodeRef, ASPECT_DISPOSITION_LIFECYCLE) &&
|
||||
@@ -823,6 +822,7 @@ public class DispositionServiceImpl extends ServiceBaseImpl
|
||||
Boolean combineSteps = null;
|
||||
if (nextDa.getName().equals("accession"))
|
||||
{
|
||||
NodeRef accessionNodeRef = di.getDispositionActionDefinitionByName("accession").getNodeRef();
|
||||
combineSteps = (Boolean)nodeService.getProperty(accessionNodeRef, PROP_COMBINE_DISPOSITION_STEP_CONDITIONS);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user