Bug 1152826 - Process Designer's Data Assignments editor overwrite existing data assignment when we try to add new data assignment.
Summary: Process Designer's Data Assignments editor overwrite existing data assignment...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ER4
: 6.1.0
Assignee: Tihomir Surdilovic
QA Contact: Kirill Gaevskii
Dawn Eisner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-15 03:21 UTC by Abhijit humbe
Modified: 2020-03-27 20:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:01:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot-1 (61.84 KB, image/png)
2014-10-15 03:21 UTC, Abhijit humbe
no flags Details
Screenshot-2 (61.71 KB, image/png)
2014-10-15 03:21 UTC, Abhijit humbe
no flags Details
Screenshot-3 (53.34 KB, image/png)
2014-10-15 03:22 UTC, Abhijit humbe
no flags Details
Screenshot-4 (61.78 KB, image/png)
2014-10-15 03:22 UTC, Abhijit humbe
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1149123 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Bugzilla 1162680 0 unspecified CLOSED Data Assignments Editor doesn't load all data assignments where DataInput and DataOutput contains same variable names 2021-02-22 00:41:40 UTC

Internal Links: 1149123 1162680

Description Abhijit humbe 2014-10-15 03:21:03 UTC
Created attachment 947077 [details]
Screenshot-1

Description of problem:

It has been found that with BPMS 6.0.3 the Process Designer's "Editor for Data Assignments" pop-up overwrite existing data assignment when we try to add new data assignment.This issue is reproduced only when we have Task and Process Variable of same name.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a process definition in Process Designer which has {Start -> User Task -> End} , which has a process variable named "variable_One" & variable_two.

2. Create the following data assignments for the task variable and the process variables like this.

(DataOutputSet) variable_One:String
(DataOutputSet) variable_two:String
(DataOutput Assignments) variable_One->variable_One

and click on "Ok" button.

3. Now try to add data mapping for "variable_two", in pop up window we dont see data mapping created in step-2.Add below data mapping and close pop up window.

(DataOutput Assignments) variable_One->variable_One

4. New data assignment it overwrite previous data assignment

Actual results:
Overwrite existing data assignment when we try to add new data assignment.

Expected results:
We should able to add multiple data assignment.

Additional info:
This issue is reproduced only when we have Task and Process Variable of same name.

Comment 1 Abhijit humbe 2014-10-15 03:21:39 UTC
Created attachment 947078 [details]
Screenshot-2

Comment 2 Abhijit humbe 2014-10-15 03:22:10 UTC
Created attachment 947079 [details]
Screenshot-3

Comment 3 Abhijit humbe 2014-10-15 03:22:51 UTC
Created attachment 947081 [details]
Screenshot-4

Comment 5 Kris Verlaenen 2014-10-15 11:39:30 UTC
This is most likely fixed by https://bugzilla.redhat.com/show_bug.cgi?id=1149123, which was just fixed on master and 6.0.x (6.0.3 roll up patch 1)

Comment 6 Jiri Locker 2014-10-29 14:10:16 UTC
Not fixed in the 6.0.3 rollup #1.

I used var1:String,var2:String process variables and the same for the task DataOutputSet. DataOutput assignments var1->var2 and var2->var2 were always dropped whereas var2->var1 and var1->var1 persisted.

Comment 7 Jiri Locker 2014-11-11 13:27:02 UTC
Related Data Assignments bugs.

Comment 8 Tihomir Surdilovic 2014-11-27 20:23:19 UTC
with the data assignments updates on master done this is no longer a problem. the mapping can be done without issues

Comment 9 Sona Mala 2014-12-15 13:55:05 UTC
Tiho,
there is a problem with typing both assignment:
   [DataOutput] variable_One -> variable_One
   [DataOutput] variable_Two -> variable_Two
   [DataOutput] variable_Three -> variable_Three

after reopening there is just:
   [DataOutput] variable_One -> variable_One

My opinion is that after fix of this bug I should see again:
   [DataOutput] variable_One -> variable_One
   [DataOutput] variable_Two -> variable_Two
   [DataOutput] variable_Three -> variable_Three


Note: Branch 6.2.x does not contain any commit which name contains "BZ1152826" or "BZ1149123". This branch does not contain the commit which solves the problem with the patch (November 2014).

Comment 10 Tihomir Surdilovic 2014-12-15 17:53:00 UTC
we are moving a number of fixed from master to 6.2.x currently. if its possible to test against master please do so.

Comment 11 Tihomir Surdilovic 2014-12-15 18:25:17 UTC
fixed in both master and 6.2.x branches now

Comment 12 Tomas Livora 2015-01-23 13:51:10 UTC
Verified on BPMS 6.1.0 ER4


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