Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1074450

Summary: Process import in process designer not using 'name' fields
Product: [Retired] JBoss BPMS Platform 6 Reporter: Eric D. Schabell <eschabel>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Kirill Gaevskii <kgaevski>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.0CC: kverlaen, mbaluch
Target Milestone: ER1   
Target Release: 6.0.2   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:12:00 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:
Attachments:
Description Flags
View of bpmn2 process in IDE designer pre-import to process designer UI
none
View of bpmn2 process in IDE designer post-import to process designer UI
none
Source used to import. none

Description Eric D. Schabell 2014-03-10 09:34:47 UTC
Created attachment 872605 [details]
View of bpmn2 process in IDE designer pre-import to process designer UI

Description of problem:
Imported valid BPMN2 results in generated names instead of using existing names, even overwriting name field in new bpmn2 file. Attached screenshots and source used to import.

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

How reproducible:
Use process designer in business central, import (paste or file) bpmn2 file attached.

Steps to Reproduce:
1.see above.
2.
3.

Actual results:
Ruined naming in file.

Expected results:
Name fields used instead of generating strang ID's.

Additional info:

Comment 1 Eric D. Schabell 2014-03-10 09:35:45 UTC
Created attachment 872606 [details]
View of bpmn2 process in IDE designer post-import to process designer UI

Comment 2 Eric D. Schabell 2014-03-10 09:36:47 UTC
Created attachment 872607 [details]
Source used to import.

Comment 4 Tihomir Surdilovic 2014-03-11 11:54:36 UTC
Simple fix for this is to not use the same id and name value on the start and the end event, for example:

<bpmn2:startEvent id="Inicio" name="Inicio" isInterrupting="false">
      <bpmn2:outgoing>Inicio-No_Inicial</bpmn2:outgoing>
    </bpmn2:startEvent>

and in

 <bpmn2:endEvent id="Fim" name="Fim">
      <bpmn2:incoming>No_Inicial-Fim</bpmn2:incoming>
    </bpmn2:endEvent>

just change the id (and update all references) or change the name to something that's not equal the ID.

Comment 5 Eric D. Schabell 2014-03-11 12:07:15 UTC
This does not happen with IDE editors in JBDS, which is why I brought it to your attention.

Comment 7 Sona Mala 2014-05-12 15:47:05 UTC
The comment #4 contains just a workaround for users.

Please, close this as "not a bug" or fix it. The behaviour of 6.0.2 ER2 BPMS is same as was described by Eric D. Schabell.