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

Bug 1248991

Summary: Assignments property sometimes empty when there are DataInputs / DataOutputs on activity
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jeremy Lindop <jlindop>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Kirill Gaevskii <kgaevski>
Severity: high Docs Contact:
Priority: medium    
Version: 6.2.0CC: kverlaen
Target Milestone: ER2   
Target Release: 6.3.0   
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:42:07 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 Jeremy Lindop 2015-07-31 09:40:45 UTC
Description of problem:
Now that the DataInputs / DataOutputs etc. properties are hidden as part of the new DataIOEditor implementation, if you create a set of DataInputs or Outputs with no Sources and Targets, then the "Assignments" property looks empty. This is confusing for the user, as it looks as though they haven't defined any Inputs or Outputs.

Version:
6.3.0 Community - version with the DataIOEditor dialog replacing DataInput/DataOutput/Assignments dialogs.


Steps to Reproduce:
1. Create a new BP
2. Add a User Activity
3. Add some DataInputs and DataOutputs to the Activity, with no Source or Target defined.
4. The "Associations" property is empty.

The same issue applies to the DataInputAssociation and DataOutputAssociation property

Comment 2 Jeremy Lindop 2015-08-12 13:22:52 UTC
Suggestion from Joe Sniezek:
Instead of showing "Assignments value", show "5 assignments, 5 inputs, 5 outputs"

Comment 3 Jeremy Lindop 2016-01-29 16:33:13 UTC
Fixed by showing counts of data inputs and data outputs. (It doesn't make much sense to show a separate count of assignments).

master: https://github.com/droolsjbpm/jbpm-designer/commit/d1661036efe746a1191b50aa662e35c6bfb06635

Comment 4 Kirill Gaevskii 2016-03-02 14:51:19 UTC
No appropriate commit on 6.4.x branch. Master branch working as expected.

Comment 5 Jeremy Lindop 2016-03-03 10:30:57 UTC
Kris - will you take a quick look at this.

In the 'Assignments' property, the value has been changed from something like "[din]name->name,[din]age->age,[din]sex->sex,[dout]name->name,[dout]age->age,[dout]sex->sex" to a count of inputs & outputs, e.g. "3 data inputs, 3 data outputs" (after a suggestion by Joe).

Since this is a mainly cosmetic, but sizeable change, I wonder whether the target release should be bpms 6.4.0 rather than 6.3.0. Currently the change has been committed to master, but not the 6.4.x branch.

Comment 6 Kris Verlaenen 2016-03-15 01:12:52 UTC
Jeremy, I think it's fine to still include it on 6.4.x at this point.