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 How reproducible: Always 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 Actual results: No change is reflected in the UI. Exception appears in the server log (see attachment) Expected results: 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. Commits: https://github.com/droolsjbpm/jbpm-form-modeler/commit/fc297769d8bf3bb6d2d98702378a4276cb9a8811
Commits: Master https://github.com/droolsjbpm/jbpm-form-modeler/commit/fc297769d8bf3bb6d2d98702378a4276cb9a8811 6.0.x https://github.com/droolsjbpm/jbpm-form-modeler/commit/47531ac8f504d895b8deaae22dd3a6af57d68fb1
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.