Changed the test a bit and uncommented intial fix, as we agree it's an workaround for the moment.

This commit is contained in:
Roxana Lucanu-Ghetu
2016-06-16 15:50:35 +03:00
parent 563cae7555
commit 85b965dea9
2 changed files with 14 additions and 14 deletions

View File

@@ -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();