Bug 1268754 - Docker of edge is not positioned relatively to swimlane
Docker of edge is not positioned relatively to swimlane
Product: JBoss BPMS Platform 6
Classification: JBoss
Component: jBPM Designer (Show other bugs)
Unspecified Unspecified
high Severity medium
: ---
: ---
Assigned To: Tihomir Surdilovic
Jozef Marko
Depends On:
  Show dependency treegraph
Reported: 2015-10-05 03:34 EDT by Jozef Marko
Modified: 2016-04-19 11:04 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
swimlane with dockers inside (13.53 KB, application/xml)
2016-04-19 08:13 EDT, Jozef Marko
no flags Details

  None (edit)
Description Jozef Marko 2015-10-05 03:34:23 EDT
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):

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 08:13 EDT
Created attachment 1148540 [details]
swimlane with dockers inside
Comment 2 Jozef Marko 2016-04-19 08:26:54 EDT
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:

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 11:04:04 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.