Bug 250090 - "Initialize bpmn_diagram diagram file" having problems with Subprocesses and Lanes
Summary: "Initialize bpmn_diagram diagram file" having problems with Subprocesses and ...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BPMN (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Hugues Malphettes CLA
QA Contact: Oisin Hurley CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2008-10-08 09:43 EDT by Tobias Küster CLA
Modified: 2012-01-06 13:57 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Küster CLA 2008-10-08 09:43:11 EDT
The "Initialize bpmn_diagram diagram from model file" feature is having problems with initializing diagram files for models containing either Subprocesses and/or Lanes.

- In case the model contains a Subprocess, the Subprocess Node will be broken (wrong icon, no children, cannot be moved, etc.) and the diagram can not be saved

- In case the model contains a Lane, the Lane will not be visualized correctly and the relation of Activities to Lanes might not be correct (as it was in the model). Each time when moving an Activity, the respective Lane will grow in size (and with it the pool). After the Lanes have been removed from the Pool everything works as normal again.

Although this is a native feature of GMF, the source of the problem seems to lie in the STP BPMN editors, as there are no such problems with other GMF based editors. Tested on Eclipse 3.4, GMF 2.1.0, STP BPMN 1.0 (Ganymede) and STP BPMN from SVN.

The problem with this bug is that it somewhat hinders export/import to STP BPMN, as for most generated models no diagram files can be created.
Comment 1 Christian CLA 2009-05-22 13:07:22 EDT
Same happens for me, using version 1.0.2 of the stp bpmn modeler

adding a subprocess to a bpmn diagram and running 'Initialize bpmn_diagram diagram' breaks the diagram.

is there any chance that this is getting fixed - or any workaround? i'd like to import bpmn models into the modeler, so having this diagram generation functionality would be great...
Comment 2 Antoine Toulmé CLA 2009-05-22 13:15:15 EDT
This feature is offered by GMF and it sounds like we will need to create our own to have containers be handled separately.

It is possible to reorganize the layout of a diagram using the layout provider though.

At this time, we have no cycles to implement this and we are entering the end game for Galileo.