Bug 1268754

Summary: Docker of edge is not positioned relatively to swimlane
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jozef Marko <jomarko>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Jozef Marko <jomarko>
Severity: medium Docs Contact:
Priority: high    
Version: 6.2.0CC: kverlaen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:07:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
swimlane with dockers inside none

Description Jozef Marko 2015-10-05 07:34:23 UTC
Description of problem:
If there is used a docker on some edge inside a swimlane, this docker is not positioned relatively to the swimlane. It means, if user moves/resizes the swimlane, the docker keeps its position. 

Version-Release number of selected component (if applicable):
6.2.0.ER3

Steps to Reproduce:
1. Create process with swimlane
2. Put two activities inside the swimlane
3. Connect these two activities with sequence flow
4. Add docker to the sequence flow
5. Click on the swimlane and move or resize it

Actual results:
Both swimlane and elements are moved or resized but position of the docker is not changed

Expected results:
Behaviour should be the same as if user moves two activities between the edge with docker is. If user moves only two activities, between the edge with docker is, the position of docker is changed correctly.

Comment 1 Jozef Marko 2016-04-19 12:13:34 UTC
Created attachment 1148540 [details]
swimlane with dockers inside

Comment 2 Jozef Marko 2016-04-19 12:26:54 UTC
Hello Tihomir. I was investigating this issue a little bit more. If you import process from the attachment 1148540 [details] and then you move swimlane which is there, you will see that dockers inside of swimlane are not moving.

I was able to resolve this problem by this code change:
https://github.com/jomarko/jbpm-designer/commit/0e94bb0c86164025cf678d1b5463bbde1a06d1cd

But this code change doesn't work properly, if there are used data objects and associations connected with them have dockers. My code change would be enough for official BxMS product, as there data objects are prohibited.

All described behavior holds true also if you replace swimlane with subprocess.

I hope that proposed code change will help you to resolve this issue.

Comment 3 Tihomir Surdilovic 2016-04-19 15:04:04 UTC
Jozef- your changes look correct. We stopped using the layout manager for this so the code you propose should be uncommented as you did.


Feel free to do a pull request for this.

Thanks.