Bug 1322901

Summary: WID tasks get new Assignment after Save/Reopen Business Process
Product: [Retired] JBoss BPMS Platform 6 Reporter: Kirill Gaevskii <kgaevski>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Kirill Gaevskii <kgaevski>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.3.0CC: kverlaen, lpetrovi
Target Milestone: ER3Keywords: Regression
Target Release: 6.3.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:37:56 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:
Attachments:
Description Flags
Unexpected Assignment none

Description Kirill Gaevskii 2016-03-31 15:17:09 UTC
Created attachment 1142272 [details]
Unexpected Assignment

Description of problem:
If you add some WID task (like REST task or EMAIL task), add some input assignment (or leave existing) to it after save and reopen task will have one additional Assignment with name "TaskName" at the end of list. 
If you add some addition assignments after it after save and reopen all new Assignments (after TaskName) will be lost. If you change type or value of this task it will be restored after save and reopen.
If no input assignments was added no TaskName will appear.

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

How reproducible:
always

Steps to Reproduce:
1. Create Business Process with any WID task (REST, EMAIL etc.)
2. Add at least one assignment
3. Save and reopen business process
4. Look at the WID assignments.

Actual results:
New unwanted Assignment appear, any action with it and assignments below will be lost.

Expected results:
No unintended assignments. All changes is stored independently of it position.

Additional info:
It is new for 6.3.0.ER2, in 6.3.0.ER1 all is ok.