Bug 1248991 - Assignments property sometimes empty when there are DataInputs / DataOutputs on activity
Summary: Assignments property sometimes empty when there are DataInputs / DataOutputs ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ER2
: 6.3.0
Assignee: Tihomir Surdilovic
QA Contact: Kirill Gaevskii
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-31 09:40 UTC by Jeremy Lindop
Modified: 2020-03-27 19:42 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

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.


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