Bug 1235330 - Text annotations and groups within swimlanes behave incorrectly
Summary: Text annotations and groups within swimlanes behave incorrectly
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER4
: 6.2.0
Assignee: Tihomir Surdilovic
QA Contact: Marián Macik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-24 14:24 UTC by Jeremy Lindop
Modified: 2020-03-27 19:06 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:06:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jeremy Lindop 2015-06-24 14:24:16 UTC
Description of problem:
After saving a BP which has a TextAnnotation or Group inside a Swimlane, the TextAnnotation or Group is no longer contained in the Swimlane. In the editor when you move the swimlane, the TextAnnotation or Group does not move with the swimlane, but stays where it is.

Note: With the eclipse bpmn2 api, a swimlane can only contain elements of type FlowElement. TextAnnotations and Groups are Artifacts, which within the api are not flowElements.
The BPMN2.0 spec does not allow  artifacts to be placed inside container nodes, so we will need to extend our implementation of the BPMN2.0 spec (and the Eclipse bpmn2 api) so that TextAnnotations and Groups within swimlanes behave correctly in jBPM Designer.

See attached video.

Version-Release number of selected component (if applicable):
BPMSuite 6.1.0

How reproducible:
Happens in all browsers, but in IE10 and IE11, the problem is worse because each time you drag-drop an item, e.g. a TextAnnotation, the whole BP is saved to JSON then reloaded, to workaround a bug in IE's handling of SVG markers.

Steps to Reproduce:
1. Create a new BP
2. Add a swimlane
3. Add an activity, e.g. a Start activity inside the swimlane
4. Click the buton on the Activity to add a Text Annotation 
5. Move the swimlane. At this point, the Annotation moves with the swimlane because it's inside it in the metadata.
6. Save the BP (and optionally close and re-open it)
7. Move the swimlane. Now the Annotation stays where it is while the swimlane is moved.


Expected results:


Additional info:

Comment 2 Tihomir Surdilovic 2015-08-10 12:45:59 UTC
Designer master commit for Text annotations: https://github.com/droolsjbpm/jbpm-designer/commit/3062029954612a3776e97783fcc51673495cd5e8

Since this type of changes require updates to multiple components could we open a specific separate one for groups? Thanks.

Comment 3 Marián Macik 2015-10-14 16:22:53 UTC
Verified with 6.2.0.ER4.


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