Bug 1032512

Summary: Bug on MultipleSubform when is marked as readonly
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: Tomas Livora <tlivora>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.0CC: pzapataf
Target Milestone: ER6   
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:11:08 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-11-20 10:34:37 UTC
There is a data loss when a form is being shown witha a multiple subform marked as a readonly.

Look the example on the repo:
https://github.com/pefernan/readonly-multible-subform-bug.git

When the process reaches the "approve" step the form doesn't show the lines entered and launches an error:
10:54:23,809 ERROR [org.jbpm.formModeler.core.processing.formRendering.FormRenderingFormatter] (http--127.0.0.1-8080-4) Form not found

modifying the approve-taskform.form to set the lines as not readonly and the process works well.

Also the column names on the multiple subform doesn't appear all the times.

Comment 2 Pere Fernàndez 2013-11-21 20:42:27 UTC
There was a problem getting the subform when the field was readonly. Also found an error when it was trying to render the column names on the MultipleSubformTable. Modified the CreateDynamicObjectFormatter and the field show.jsp to fix it.

Commits (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/e51a5ad80c0fb527f4a897ea06333dd53589ef33

Commits (6.0.x): https://github.com/droolsjbpm/jbpm-form-modeler/commit/1443d788bf1339c644d6b4542e92594806ed8ffa

Comment 3 Tomas Livora 2014-01-03 13:31:24 UTC
Verified on BPMS 6.0.0.ER7