Bug 1036909 - session-migration: CCE when a process contains a Catching Intermediate Conditional Event.
Summary: session-migration: CCE when a process contains a Catching Intermediate Condit...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Core
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER 7
: 6.0.0
Assignee: Kris Verlaenen
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-02 21:36 UTC by Marek Baluch
Modified: 2014-08-06 20:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:10:35 UTC
Type: Bug


Attachments (Terms of Use)

Description Marek Baluch 2013-12-02 21:36:55 UTC
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().

Comment 1 Kris Verlaenen 2013-12-17 02:09:25 UTC
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

Comment 2 Marek Baluch 2014-01-08 10:55:38 UTC
Verified on ER7.


Note You need to log in before you can comment on or make changes to this bug.