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
Suggestion from Joe Sniezek: Instead of showing "Assignments value", show "5 assignments, 5 inputs, 5 outputs"
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
No appropriate commit on 6.4.x branch. Master branch working as expected.
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.
Jeremy, I think it's fine to still include it on 6.4.x at this point.
Committed on 6.4.x: https://github.com/droolsjbpm/jbpm-designer/pull/193/commits/41b162e0d1c3b28772ab8d0bfa47af6c7f7409c0