Created attachment 1050701 [details] TwoSwimlanes before reopening. Description of problem: Swimlanes are disordered after a process with two swimlanes is reopened in designer. Version-Release number of selected component (if applicable): How reproducible: When I close an editor with a process with two swimlanes and then I reopen this process, the swimlanes are disordered, usually the inner swimlane is under the bigger, outer swimlane. I have enclosed two pictures too (before and after a reopening of the editor). Expected results: Swimlanes should be ordered.
Created attachment 1050702 [details] Two swimlanes after reopening.
Marian - is this a regression?
It is not a regression since it is not able to overlap 2 swimlanes in earlier versions.
This BZ was created after BZ1229803 was verified. In BZ1229803 it was proposed to add a functionality to add a swimlane into a swimlane, which was fulfilled (BZ1229803 is now verified). However, if you try to reopen the designer with a process which has a swimlane inside a swimlane, these swimlanes may appear disordered as shown in the attachments I provided. This is the reason, why this particular BZ was created.
Being able to nest swimlanes is a regression. This is fixed: master:https://github.com/droolsjbpm/jbpm-designer/commit/0832424250955382d83bea6024c2d039d1f0a56a 6.3.x: https://github.com/droolsjbpm/jbpm-designer/commit/6d12dbfdafeb87306f054fe07b50844a05175888
It is now not possible to nest one swimlane inside another. Verified with 6.2.0.ER4.