Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

If routing a form with parallel tasks, delegating or reassigning more than one approver fails #902

Closed
gsteimer opened this issue Nov 24, 2015 · 1 comment

Comments

@gsteimer
Copy link
Contributor

If a form is routed with parallel tasks (two roles at the same priority), if one approver is delegated or reassigned, the any other users cannot be delegated or reassigned. The first delegate/reassign works, but the second fails with the error below:

2015-11-24 11:15:45,743 39865391    TP-Processor6   ERROR   RESTService -1
java.lang.ArrayIndexOutOfBoundsException: -1
    at java.util.ArrayList.elementData(Unknown Source)
    at java.util.ArrayList.set(Unknown Source)
    at com.tsgrp.opencontent.activiti.workflow.ActivitiWorkflowImpl.setTaskAssignee(ActivitiWorkflowImpl.java:316)
    at com.tsgrp.opencontent.wizard.action.executer.ReassignWizardWorkflowTaskActionExecuter.executeImpl(ReassignWizardWorkflowTaskActionExecuter.java:49)
    at com.tsgrp.opencontent.core.action.executer.AbstractActionExecuter.execute(AbstractActionExecuter.java:183)
    at com.tsgrp.opencontent.core.action.service.CoreActionService.execute(CoreActionService.java:321)
    at com.tsgrp.opencontent.core.action.service.RESTAction.executeActionPost(RESTAction.java:189)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Before talking this one on, talk to @mikeblum and/or @dgrumieaux. After fixing this, we also need to retest #880

@ZachGerth
Copy link

Fixed with Revision # 13358.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants