[incubator-kie-issues-1131] test migration from V7 to code generation-34 #3653
+43
−20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Below are the tests with issues, commented the same for each test.
testIntermediateCatchEventCondition, testIntermediateCatchEventConditionFilterByProcessInstance, testConditionalBoundaryEventOnTaskComplete, testConditionalBoundaryEventInterrupting
for the tests with getKieSession,
How to add the person variable to the session? The model doesnot have the person field. Even after the person variable is added in the bpmn file, the test fails with a NPE,
When i try to complete workItem Im getting below error:
Caused by: java.lang.NullPointerException: Cannot invoke
"org.jbpm.process.instance.impl.AssignmentAction.execute(java.util.function.Function, java.util.function.Function, org.jbpm.process.instance.impl.AssignmentProducer)" because "action" is null at org.jbpm.workflow.core.impl.NodeIoHelper.handleAssignment(NodeIoHelper.java:113)
exception is this, org.jbpm.workflow.instance.WorkflowRuntimeException: [DataOutputAssociations:fa7cbf6e-fe07-408b-abcd-92ea30bed450 - Task:[uuid=_2]] -- java.lang.RuntimeException: Unable to execute Assignment
we get below error:
org.kie.kogito.process.validation.ValidationException: A process cannot have more than one start node!
BPMN process definition includes multiple start events, but I if im not wrong Kogito seems to only support a single start node per process. Could you please clarify if there's a way to handle multiple start events within a single Kogito process definition or suggest an alternative approach ?
guidance on above would be helpful.
Closes apache/incubator-kie-issues#1131.
Note: This pr contains tests with error, only for review purpose.