Bug 1211647 - Definition of 'Data Type' in 'Create New Error' dialog fails
Summary: Definition of 'Data Type' in 'Create New Error' dialog fails
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Eclipse Tooling
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact: Jozef Marko
Depends On:
TreeView+ depends on / blocked
Reported: 2015-04-14 13:46 UTC by Jozef Marko
Modified: 2020-03-27 19:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2020-03-27 19:35:11 UTC
Type: Bug

Attachments (Terms of Use)

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* builds.

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

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:

Comment 4 Robert (Bob) Brodt 2015-10-29 21:08:08 UTC
Fixed in:
Luna build
Mars build
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

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