Description of problem:
- It has been observed by users while they try to open a BPMN2 process definition (which was originally modelled in Web Designer) in JBDS BPMN2 Diagram Editor , it disorders layout of nodes in Swim Lane. The attached simple BPMN2 process "swimlaneProcess.bpmn2" contains a "Start Node -> Service Task -> End Node" can be imported in the JBDS projects to reproduce the issue. It appears that the round tripping of such type of process definition between the Web Designer and the JBDS Editor is causing such issues in presence of Swim Lanes as seen in this Bugzilla  too.
Version-Release number of selected component (if applicable):
- BPMS 6.0.2
- JBDS 7.1.1
- Always with the attached "swimlaneProcess.bpmn2" process
Steps to Reproduce:
1. Import the attached "swimlaneProcess.bpmn2" process in JBDS project
2. Open it using BPMN2 Diagram Editor
3. You should see the layout is messed up
4. Try to open the same process definition in Web Designer and there it should at least open and visible properly.
- The process definition layout is broken.
- BPMN2 process layout should be properly visible in BPMN2 Diagram Editor of JBDS
Created attachment 926689 [details]
I have just tried to modify the previous example by replacing the Service Task with a simple Script Task. I have attached a new "SwimLaneIssueSimpleTask.bpmn2" process definition which contains a "Start -> Script Task -> End" process flow and enclosed them in a Swim Lane . Even while verifying the process definition in Web Designer it doesn't complain any issue (seen in the attached "WebDesigner_layout_perfect.png" image) , but when I try to import the same in JBDS and open it there it breaks the layout (shown in attached "JBDS_layout_broken.png" image) .
I hope this reproducer should help troubleshoot the issue.
Created attachment 926700 [details]
Created attachment 926701 [details]
Created attachment 926703 [details]
Comment on attachment 926689 [details]
no longer required
*** This bug has been marked as a duplicate of bug 1062233 ***