Hide Forgot
Description of problem: When a process with a 'Catching Intermediate Conditional Event' is migrated to jBPM 6. then a CCE org.jbpm.workflow.core.node.ActionNode cannot be cast to org.jbpm.workflow.core.node.CompositeNode will be thrown on restore session. Steps to Reproduce: Use the BPMN2-IntermediateCatchEventCondition.bpmn2 process from the jBPM repo. 1) start an instance in jBPM5 (no Person object insertion) 2) attempt to restore the instance in jBPM6 Additional info: For more information see http://git.app.eng.bos.redhat.com/jbossqe/brms.git/tree/test-jbpm-session-migration test catchEventConditionTest().
To make sure the IDs of the nodes in jBPM6 are the same as in jBPM5, make sure to run the test with -Djbpm.v5.id.strategy=true, this should solve this CCE. Other minor fix: 6.0.x: http://github.com/droolsjbpm/jbpm/commit/09599e8c3 master: http://github.com/droolsjbpm/jbpm/commit/5cb243524
Verified on ER7.