Hide Forgot
Created attachment 833469 [details] Default value of Short date incorrect Description of problem: This is followup on Bug 1013462 It seems that for all the filed types the 'Default formula' property is working correctly, except for 'Short Date' which displays month incorrectly See screenshot attached. Version-Release number of selected component (if applicable): BPMS 6.0.0 ER5 How reproducible: Always Steps to Reproduce: 1. Create a form, go to Add fields by type 2. Add field of type Short date and in its properties set Default value formula to: =new java.util.Date() Actual results: Month part of a date field in date is displayed incorrectly. Notice, that for the field of type Timestamp, it is rendered correctly. Expected results: Default value should be generated correctly.
There was an error on the ShortDate Pattern. Commits (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/de9635397c8cb6331ad38102e80853a9616f1bf4
There was a problem with the pattern used to render short dates. Commit (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/de9635397c8cb6331ad38102e80853a9616f1bf4 Commit (6.0.x): https://github.com/droolsjbpm/jbpm-form-modeler/commit/d3e592b4dc98ba21eb6edba7d35f5756d68cafcf
Ok, verified with BPMS 6.0.0 CR1