Bug 1268754 - Docker of edge is not positioned relatively to swimlane
Summary: Docker of edge is not positioned relatively to swimlane
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Tihomir Surdilovic
QA Contact: Jozef Marko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-05 07:34 UTC by Jozef Marko
Modified: 2020-03-27 19:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:07:49 UTC
Type: Bug
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1320054 0 unspecified CLOSED Tasks and connectors positions do not save correctly within subprocess in BPMN2 files 2021-02-22 00:41:40 UTC


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.


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