Changed test class and commented initial fix.

This commit is contained in:
Roxana Lucanu-Ghetu
2016-06-01 17:41:36 +03:00
parent f4ac24d41f
commit e9bb18f9f5
2 changed files with 54 additions and 64 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();