Bug 1316040 - Default service task I/O parameters not shown in "I/O Parameters" tab
Summary: Default service task I/O parameters not shown in "I/O Parameters" tab
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Eclipse Tooling
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact: Jozef Marko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-09 10:05 UTC by Jozef Marko
Modified: 2020-03-27 19:44 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:44:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jozef Marko 2016-03-09 10:05:15 UTC
*** Description of problem:
Service task has two default parameters:
"Parameter" - input of operation
"Result" - output of operation

"Parameter" and "Result" can be set on "Service Task" tab. But these assignments are not shown in "I/O Parameters" tab

*** Version-Release number of selected component (if applicable):
jbds-9.1.0.Beta2_jbdsis-9.0.0.Beta1
BPMN2 Modeler - 1.2.3.CR2-v20160209-2002

*** Steps to Reproduce:
1. Create process containing 'service task'
2. Set implementation for 'service task'
3. Set operation for 'service task'
4. On 'Service Task' tab set 'Source' for operation input
5. On 'Service Task' tab set 'Target' for operation output
6. Save your work and check 'I/O Parameters' tab

*** Actual results:
There will be not "Parameter" neither "Result" assignment

*** Expected results:
There will be "Parameter" and "Result" assignment


*** Additional info:
User can fill on "I/O Parameters" tab input assignment named "Parameter" and output assignment named "Result". These are also stored in xml source. But they disappear from "I/O Parameters" tab after properties are reopened.

Comment 1 Jozef Marko 2016-03-14 07:56:47 UTC
Reproducible also on:
JBDSIS 8.0.6.CR1, JBTIS 4.2.6.CR1
BPMN2 Modeler 1.1.5.Final-v20160226-1727-B1298

Comment 2 Robert (Bob) Brodt 2016-03-23 14:01:19 UTC
This is intentional - I had to work hard to make this happen ;)

The idea is that these special, "hard-coded" parameters should not appear on the I/O Parameters tab because they are handled separately in the task-specific tab (for Receive Task, Send Task, Service Task, Manual Task and Human Task.) I believe it is confusing to be able to see and change them in two different places. Also, we DO NOT want the user to be able to delete them or change their names in the I/O Parameters table.

In any case, it is working as designed. Unless you feel really strongly that this is the wrong behavior, please close this BZ.

Comment 3 Jozef Marko 2016-04-05 13:43:32 UTC
Thanks Bob. I agree with you. Current behavior is right. It is correct not to show default parameters on "I/O Parameters" tab.

But now, user can duplicate "default parameters". First time, user can set these parameters on "Service Task" tab and second time, user can add these parameters on "IO Parameters" tab. Do you see my point?

What do you think, would it be possible to prohibit setting of parameters like "Parameter", "Result" on "I/O Parameters" tab? I think it would be nice to obtain message like:

Parameters "Parameter" and "Result" can be set only on "Service Task" tab.

Let me know what do you think about it.

Comment 4 Robert (Bob) Brodt 2016-04-05 14:05:28 UTC
Hi Jozef. Yes, you're right - this is a problem. Unfortunately the fix for this will have to go into the next service release of BPMN2 Modeler for Mars (taht will be version 1.2.5) since I have already delivered the "Final" bits to Paul for inclusion with the JBDSIS. It will definitely make into the Neon release though.

Comment 5 Jozef Marko 2016-04-05 14:13:00 UTC
Bob, Thanks for fast reply. I am fine with fix in next release. The issue is not critical.


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