mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged BRANCHES/DEV/V4.0-BUG-FIX to HEAD:
37623: ALF-14183: Additional NP check for transition-id when building model git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@37624 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -620,7 +620,7 @@ public class WorkflowModelBuilder
|
|||||||
WorkflowTransition[] transitions = task.getDefinition().getNode().getTransitions();
|
WorkflowTransition[] transitions = task.getDefinition().getNode().getTransitions();
|
||||||
for (WorkflowTransition transition : transitions)
|
for (WorkflowTransition transition : transitions)
|
||||||
{
|
{
|
||||||
if (transition.getId().equals(outcomeId))
|
if (transition.getId() != null && transition.getId().equals(outcomeId))
|
||||||
{
|
{
|
||||||
outcomeLabel = transition.getTitle();
|
outcomeLabel = transition.getTitle();
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user