Red Hat Bugzilla – Bug 996081
Custom form layout cannot be saved - layout preview not available
Last modified: 2014-08-06 16:11:38 EDT
Created attachment 785653 [details]
Exception from server.log
Description of problem:
When editing 'Custorm form layout' in 'Form properties' section of Form Modeler, it is impossible to view the resulting rendering of a form.
After the custom form layout is edited and 'Save' button is clicked, no change is displayed in the UI and exception appears in the log (see attachment)
Version-Release number of selected component (if applicable):
BPMS 6.0.0.CR1 deployed on EAP 6.1.0
Steps to Reproduce:
1. Open some existing form in form modeler (e.g. repo: jbpm-playground, project: Evaluation, Form: Evaluation-taskform)
2. Go to Form Properties, select radio button 'Custom form layout' and click 'Edit' link next to it
3. Fill in some fields in custom form layout and click 'Save' button
No change is reflected in the UI. Exception appears in the server log (see attachment)
The custom form layout should be saved without exception and preview of how the form will be rendered should be displayed.
Now the specified class implements Comparable to avoid problems in collection management.
To save the 'Custom form layout' the user has to make sure to click the 'Save' button to see the changes in UI. After that, clicking in the upper Save option the user can persists the changes in the repository.
Ok, verified with BPMS 6.0.0 ER3.
The save button now no longer causes an exception to be thrown and layout preview is shown after pressing it. There are other issues with custom form layout editor, but those will be reported in separate bugzillas.