-
Bug Report
-
Resolution: Unresolved
-
L3 - Default
-
None
-
7.17.6
-
None
Environment (Required on creation):
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):
when testing BPMN which expected ExternalTask to send local variables, there is no complete method allowing to pass local variablethe complete() function do not allow
Steps to reproduce (Required on creation):
Observed Behavior (Required on creation):
Expected behavior (Required on creation):
Root Cause (Required on prioritization):
Solution Ideas (Optional):
update test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
along with:
public static void complete(ExternalTask externalTask, Map<String, Object> variables) ... complete(lockedTasks.get(0), variables);
add:
public static void complete(ExternalTask externalTask, Map<String, Object> variables), Map<String, Object> localVariables){ ... complete(lockedTasks.get(0), variables, localVariables);
And the same for
public static void complete(LockedExternalTask lockedExternalTask, Map<String, Object> variables,
Hints (optional):
This is the controller panel for Smart Panels app
[CAM-14929] org.camunda.bpm / complete do not allow to pass local variables
Description |
Original:
h3. Environment (Required on creation):
h3. Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket): when testing BPMN which expected ExternalTask to send local variables, there is no _complet_ method allowing to pass {_}local variable{_}the complet() function do not allow h3. Steps to reproduce (Required on creation): h3. Observed Behavior (Required on creation): h3. Expected behavior (Required on creation): h3. Root Cause (Required on prioritization): h3. Solution Ideas (Optional): update test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java along with: {code:java} public static void complete(ExternalTask externalTask, Map<String, Object> variables) ... complete(lockedTasks.get(0), variables); {code} add: {code:java} public static void complete(ExternalTask externalTask, Map<String, Object> variables), Map<String, Object> localVariables){ ... complete(lockedTasks.get(0), variables, localVariables); {code} And the same for {code:java} public static void complete(LockedExternalTask lockedExternalTask, Map<String, Object> variables, {code} Hints (optional): |
New:
h3. Environment (Required on creation):
h3. Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket): when testing BPMN which expected ExternalTask to send local variables, there is no _complete_ method allowing to pass {_}local variable{_}the complete() function do not allow h3. Steps to reproduce (Required on creation): h3. Observed Behavior (Required on creation): h3. Expected behavior (Required on creation): h3. Root Cause (Required on prioritization): h3. Solution Ideas (Optional): update test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java along with: {code:java} public static void complete(ExternalTask externalTask, Map<String, Object> variables) ... complete(lockedTasks.get(0), variables); {code} add: {code:java} public static void complete(ExternalTask externalTask, Map<String, Object> variables), Map<String, Object> localVariables){ ... complete(lockedTasks.get(0), variables, localVariables); {code} And the same for {code:java} public static void complete(LockedExternalTask lockedExternalTask, Map<String, Object> variables, {code} Hints (optional): |
Assignee | New: Tassilo Weidner [ tassilo.weidner ] |
Hi dakol,
Thank you for your contribution.
I review contributions every fortnight.
Stay tuned!
Best,
Tassilo