mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Changed the test a bit and uncommented intial fix, as we agree it's an workaround for the moment.
This commit is contained in:
@@ -891,11 +891,11 @@ public class DispositionServiceImpl extends ServiceBaseImpl
|
||||
currentDispositionActionDefinition = di.getDispositionActionDefinition(currentADId);
|
||||
// When the record has multiple disposition schedules the current disposition action may not be found by id
|
||||
// In this case it will be searched by name
|
||||
// if(currentDispositionActionDefinition == null)
|
||||
// {
|
||||
// String currentADName = (String) nodeService.getProperty(currentDispositionAction, PROP_DISPOSITION_ACTION);
|
||||
// currentDispositionActionDefinition = di.getDispositionActionDefinitionByName(currentADName);
|
||||
// }
|
||||
if(currentDispositionActionDefinition == null)
|
||||
{
|
||||
String currentADName = (String) nodeService.getProperty(currentDispositionAction, PROP_DISPOSITION_ACTION);
|
||||
currentDispositionActionDefinition = di.getDispositionActionDefinitionByName(currentADName);
|
||||
}
|
||||
|
||||
// Get the next disposition action
|
||||
int index = currentDispositionActionDefinition.getIndex();
|
||||
|
Reference in New Issue
Block a user