Created attachment 1021743 [details] prepared process ***Description of problem: User can use escalation events in modeled bpmn2 process. The problem is, that there exist workflow, which causes discarding data type of process variable. ***Version-Release number of selected component (if applicable): jbds-8.1.0.GA_jbdsis-8.0.2.ER1 -BPMN2 Modeler 1.1.3.201504171557 ***How reproducible: I have prepared some process (see the attachment). The prepared process contains definitions of one variable - LocalVariable(Object) and one escalation - Exception(java.lang.RuntimeException). Next there are connected elements of process. Two most important are 'InnerStart' and 'Throw'. Follow next section. ***Steps to Reproduce: 1. Open the attached process 2. Double click on 'InnerStart' 3. Edit the first Event Definition 4. Select 'Exception' in 'Escalation' combo 5. Select 'LocalVariable' in 'Target' combo 6. Save file 7. Check source code of process, there will be property LocalVariable with itemSubjectRef attribute 8. Double click on 'Throw' 9. On Event tab Edit first Event Definition 10. Select 'Exception' in 'Escalation' combo 11. Save process 12. Check source code of process, there will be property LocalVariable without itemSubjectRef attribute ***Expected results: In step 12. there is still property LocalVariable with itemSubjectRef attribute
This is fixed in 1.1.4.Final and 1.2.1.Final
Verified on jbdsis-8.0.5, BPMN2 Modeler 1.1.4.Final.