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

Bug 1211647

Summary: Definition of 'Data Type' in 'Create New Error' dialog fails
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jozef Marko <jomarko>
Component: Eclipse ToolingAssignee: Kris Verlaenen <kverlaen>
Status: CLOSED EOL QA Contact: Jozef Marko <jomarko>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.0CC: mbaluch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:35:11 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:

Description Jozef Marko 2015-04-14 13:46:37 UTC
*** Description of problem:
In business process model, user can define some 'Error', which have 'Name', 'Error Code' and 'Data Type'.

General workflow is:
1. Define 'Data Type' in Process properties -> Definitions
2. Define 'Error' in Process properties -> Definitions
3. Model business process

But there is another option:
1. Start model business process
2. Create 'Data Type' or 'Error' from element, which need it.

*** Version-Release number of selected component (if applicable):
jbds-8.1.0.CR1_jbdsis-8.0.1.CR1 - BPMN2 Modeler 1.1.2.Final

*** Steps to Reproduce:
1. Create simple process (StartEvent -> ScriptTask -> EndEvent)
2. Add ErrorBoundaryEvent to ScriptTask
3. Double click on ErrorBoundaryEvent
4. Edit the first event in 'Event Definitions' table
5. Click plus button next to 'Error' combo
6. Click plus button next to 'Data Type' combo
7. Type 'java.lang.RuntimeException' to input box 'Structure'
8. Select 'java.lang.RuntimeException' via 'Browse Types...' button

*** Actual results:
In step 7. error like "Characters xyz are not valid - expecting a Java Package name"
In step 8. 'java.lang.RuntimeException' is correctly selected

*** Expected results:
'java.lang.RuntimeException' is correctly selected in step 7. without need of step 8.

Comment 1 Robert (Bob) Brodt 2015-06-19 18:19:27 UTC
This was also addressed by bug https://bugzilla.redhat.com/show_bug.cgi?id=1189454
Fixed in 1.1.4.20150618* builds.

Comment 2 Jozef Marko 2015-06-24 10:41:47 UTC
Fix looks good on BPMN2 Modeler 1.1.4.201506182307.

Comment 3 Jozef Marko 2015-09-15 14:05:46 UTC
I have to reassign this BZ. I am again not able to add data type via given plus button. I can only edit existing one.

Reproduced on:
jbds-9.0.0.CR1_jbdsis-9.0.0.Alpha1

Comment 4 Robert (Bob) Brodt 2015-10-29 21:08:08 UTC
Fixed in:
Luna build 1.1.4.201510291907
Mars build 1.2.1.201510291906
I will coordinate with Paul Leacu to figure out when this will be mirrored in JBDS integration stack.

Comment 5 Jozef Marko 2015-11-02 07:51:14 UTC
Bob, thank. Fix looks good. I will mark as verified when fix will be mirrored in JBDS integration stack.

Comment 6 Jozef Marko 2016-01-19 07:21:23 UTC
Verified on jbdsis-8.0.5, BPMN2 Modeler 1.1.4.Final