You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)
like the test in camunda-engine test shows, the test mehtod testParallelUserTasksBasedOnCollectionExpression in MultiInstanceTest shows, the input DelegateExecution delegateExecution in different loops not same as each other.
@Deployment
@Ignore
@Test
public void testParallelUserTasksBasedOnCollectionExpression() {
DelegateEvent.clearEvents();
runtimeService.startProcessInstanceByKey("process",
Variables.createVariables().putValue("myBean", new DelegateBean()));
List<DelegateEvent> recordedEvents = DelegateEvent.getEvents();
assertEquals(2, recordedEvents.size());
assertEquals("miTasks#multiInstanceBody", recordedEvents.get(0).getCurrentActivityId());
assertEquals("miTasks#multiInstanceBody", recordedEvents.get(1).getCurrentActivityId()); // or miTasks
DelegateEvent.clearEvents();
}
reason
in the method prepareScopeExecution of class ParallelMultiInstanceActivityBehavior the code line scopeExecution.setActivity(null); changed the activity of exectution
Steps to reproduce (Required on creation)
run the test mehtod testParallelUserTasksBasedOnCollectionExpression in MultiInstanceTest can reproduce the bug
Observed Behavior (Required on creation)
Expected behavior (Required on creation)
Root Cause (Required on prioritization)
Solution Ideas
Hints
Links
Breakdown
The content you are editing has changed. Please copy your edits and refresh the page.
Environment (Required on creation)
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)
like the test in camunda-engine test shows, the test mehtod
testParallelUserTasksBasedOnCollectionExpression
inMultiInstanceTest
shows, the inputDelegateExecution delegateExecution
in different loops not same as each other.reason
in the method
prepareScopeExecution
of classParallelMultiInstanceActivityBehavior
the code linescopeExecution.setActivity(null);
changed the activity of exectutionSteps to reproduce (Required on creation)
run the test mehtod
testParallelUserTasksBasedOnCollectionExpression
inMultiInstanceTest
can reproduce the bugObserved Behavior (Required on creation)
Expected behavior (Required on creation)
Root Cause (Required on prioritization)
Solution Ideas
Hints
Links
Breakdown
Pull Requests
Dev2QA handover
The text was updated successfully, but these errors were encountered: