Bug 1006258

Summary: Data loss between tasks
Product: [Retired] JBoss BPMS Platform 6 Reporter: Pere Fernàndez <pere.fernandez>
Component: Form ModelerAssignee: Pere Fernàndez <pere.fernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Ivo Bek <ibek>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0.0CC: atangrin
Target Milestone: ER4   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:10:22 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:

Description Pere Fernàndez 2013-09-10 10:28:26 UTC
If a task form doesn't show all the POJO fields the POJO will loose the non-added fields data when the task is executed.

Steps to reproduce:
1.- Create a POJO with to fields.
2.- Create a Process using the POJO with 2 human tasks and generate all forms.
3.- Edit the first task form and remove one of the form fields
4.- Deploy the project and run the process an fill all the form fields. Execute the first task and when the second task form is opened it will show one field filled and other field empty.

Comment 2 Pere Fernàndez 2013-09-10 10:40:04 UTC
Fixed FormProcessorImpl, there was a bug when it was trying to get the object to persist the form Data.

Commit on master:
https://github.com/droolsjbpm/jbpm-form-modeler/commit/b547824e2832badec6dd60377fa304f2e9d6b296

Commit on 6.0.x:
https://github.com/droolsjbpm/jbpm-form-modeler/commit/e9dd38b0781b8d6665998a822fbf975341f6ad68

Comment 4 Ivo Bek 2013-10-18 12:00:54 UTC
Verified in BPMS 6.0.0.ER4