Bug 845680 - jBPM process designer fails to save swimlanes correctly
Summary: jBPM process designer fails to save swimlanes correctly
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM 5
Version: BRMS 5.3.0.GA
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-03 20:26 UTC by Phil Simpson
Modified: 2025-02-10 03:20 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:20:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Phil Simpson 2012-08-03 20:26:30 UTC
Description of problem:
The BPMN2 generated for a process model is incorrect if the model contains a swimlane postioned such that its x or y coordinates are zero.  i.e. if the swimlane is positioned at the far left or top of the diagram.  In this case the x or y value is omitted from the bpmn2, which then causes an error when subsequently attempting to open a previously saved diagram.

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


How reproducible:
Always

Steps to Reproduce:
1.  Create a new BPMN2 process in Guvnor
2.  Add a swimlane to the diagram
3.  View the bpmn2 source for the diagram.  Verify that the swimlane has height,width, x and y attributes, e.g.: <dc:Bounds height="250.0" width="600.0" x="26.0" y="186.0"/>
4.  Move the swimlane to the left hand edge of the diagram
5.  View bpmn2 source.  Note that the x coordinate has disappeared: <dc:Bounds height="250.0" width="600.0" y="186.0"/>
4.  Save & close
5.  Attempt to reopen the saved diagram
  
Actual results:
	
400 Sorry, a technical error occurred. Please contact a system administrator.

Expected results:
Diagram should open.

Additional info:

Comment 1 Tihomir Surdilovic 2012-08-26 20:01:14 UTC
You have to make sure no nodes are touching the boundaries of the canvas. That said I will make sure that swimlanes do not touch it by default when you create one. working on this now.

Comment 2 Tihomir Surdilovic 2012-08-30 15:02:16 UTC
Dragging a swimlane no longer makes its borders touch the canvas border. For the overall issue with nodes in model boundaries touching the canvas borders I would make this a separate BZ as that is a bigger change on its own I think.

Comment 3 Sona Mala 2012-09-12 14:05:08 UTC
Verified for brms standlone 5.3.1 ER1
Use case is decsribed in comment #1

Comment 15 Red Hat Bugzilla 2025-02-10 03:20:25 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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