Bug 1233437

Summary: [GSS] (6.1.z) Undo moving swimlane messes up BP diagram
Product: [Retired] JBoss BPMS Platform 6 Reporter: Gary Hu <ghu>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Kirill Gaevskii <kgaevski>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.1.0CC: ghu, hfuruich, kgaevski, kverlaen, mbaluch, tsurdilo
Target Milestone: CR2   
Target Release: ---   
Hardware: Unspecified   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1230854 Environment:
Last Closed: 2020-03-27 20:04:17 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:
Bug Depends On: 1230854    
Bug Blocks: 1230825    
Attachments:
Description Flags
Disappearing of Text Annotation none

Description Gary Hu 2015-06-18 22:59:43 UTC
+++ This bug was initially created as a clone of Bug #1230854 +++

Description of problem:
The "undo" button doesn't work after moving a swimlane. It doesn't undo the previous action. Instead, it messes up the process flow. See the attached BP and video.

Version-Release number of selected component (if applicable):
bpmsuite-6.1.0.GA

Steps to Reproduce:
1. Open the attached BP
2. move the orange box at the bottom then click the 'Undo' button
3. The diagram is messed up

--- Additional comment from Jeremy Lindop on 2015-06-11 11:53:46 EDT ---



--- Additional comment from JBoss Product and Program Management on 2015-06-11 12:00:09 EDT ---

Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Kirill Gaevskii 2015-07-10 10:05:16 UTC
Created attachment 1050646 [details]
Disappearing of Text Annotation

Comment 4 Kirill Gaevskii 2015-07-10 10:06:18 UTC
After moving the orange box at the top (or bottom) "Text Annotation" from orange swimlane don't moving with it container. After undo button it goes under swimlane and "disappearing" for user.

See screenshots for further information.

Also after Undo button during building I got an error:

11:57:25,779 ERROR [org.drools.compiler.kie.builder.impl.AbstractKieModule] (http-localhost/127.0.0.1:8080-11) Unable to build KieBaseModel:defaultKieBase
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseException : <metaData> has an invalid parent element [SequenceFlow (_8007D6A7-EB12-4C80-AA7A-1DA1BBF884F6) [_99FF8DF9-BBB3-449A-A9BF-41C23D0C722C -> _C54EF76E-E08A-4E59-BAA1-25E9D6A38B3A]]

(Maybe it is the same with https://bugzilla.redhat.com/show_bug.cgi?id=1233981)


P.S. What about elements in blue swimlane. Is it correct that elements from blue swimlane is above orange swimlane (see screenshots)?

Comment 5 Tihomir Surdilovic 2015-07-10 13:15:13 UTC
Hello, we have a BZ specific to text annotations. We are working on this currently. For this BZ it was the issue with sequence flows (connection lines) that was specific to that. 
To fix text annotations inside container nodes it goes back to the bpmn2 specifications itself and requires a larger change which we did not tackle for this release but the next.

Comment 6 Tihomir Surdilovic 2015-07-10 13:15:33 UTC
text annotation specific bz : https://bugzilla.redhat.com/show_bug.cgi?id=1235330