Bug 1032512 - Bug on MultipleSubform when is marked as readonly
Summary: Bug on MultipleSubform when is marked as readonly
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Form Modeler
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ER6
: 6.0.0
Assignee: Pere Fernàndez
QA Contact: Tomas Livora
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-20 10:34 UTC by Pere Fernàndez
Modified: 2014-08-06 20:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:11:08 UTC
Type: Bug


Attachments (Terms of Use)

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


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