Description of problem: BPMN2 Process files created with Web Designer can no longer be saved if they are imported into the Eclipse BPMN2 Modeler. The problem is caused by "overly aggressive" ID validation. Version-Release number of selected component (if applicable): 1.0.4, 1.1.2 How reproducible: always Steps to Reproduce: 1.Create a Process with Sequence Flows in Web Designer 2.Import the Process into Eclipse BPMN2 Modeler 3.Make an insignificant change and Save Actual results: Error popup dialog with message "The file can not be saved..." Expected results: Changes are saved correctly. Additional info:
Fixed in Luna build 1.1.2.201502091842 download.eclipse.org/bpmn2-modeler/updates/luna/1.1.2/ Fixed in Kepler build 1.0.4.201502091849 download.eclipse.org/bpmn2-modeler/updates/kepler/1.0.4/
Created attachment 990106 [details] process which can't be saved
Still reproducible on BPMN2 Modeler 1.1.2.201502091842 1. Import the attached file. 2. Rename or move some node and try to save it. 3. 'Can not save file' dialog appear.
With BPMN2 Modeler 1.1.1.201501081320 occurs another problem. Way to reproduce a bug: 1. Import the attached file. 2. Set 'Locale' or 'Content' 'Self Evaluation' for example 3. Save file. Actual results: File is saved without problems but there are validation errors because of missing 'itemSubjectRef' in added 'dataInput'. Expected results: File is saved without validation errors.
Sorry about that...I Forgot that only DataInputs that are used in MultiInstanceLoopCharacteristics need Java variable name validation on IDs (you guys are killing me here!) Also added a default "Object" data type to User Task (and WID) parameters that haven't been created yet. Please retest with today's builds for Kepler and Luna (same update sites.)
Verified on: Luna: BPMN2 Modeler 1.1.2.201502101729 Kepler: BPMN2 Modeler 1.0.4.201502101729
Based on last comment marking as VERIFIED
My fault - This is not part of JBDSIS yet! Moving back to modified, @Jozef - Sorry for the inconvenience.
Test concerning this issue: https://github.com/jbosstools/jbosstools-integration-stack-tests/blob/master/tests/org.jboss.tools.bpmn2.ui.bot.test/src/org/jboss/tools/bpmn2/ui/bot/complex/test/testcase/ComplexWebDesignerProcessTest.java
Verified on jbds-8.1.0.CR1_jbdsis-8.0.1.CR1 - BPMN2 Modeler 1.1.2.Final