Closed OpenESignForms closed 9 years ago
Accept dates in DD MonthName YYYY format. Fixed in the 15.8.23_p0930 patch release.
Another user used the date format MonthName DD, YYYY format, which then also broke this. There are all sorts of date output formats that we don't expect to ever accept as input, hence the validation issues. Instead, fixed the deployment view to no longer show the installation date as an EsfDate field, but just let it be a String field so there's no issue with the Vaadin bug that attempts to convert the string date back to an EsfDate object (even though the field is read-only and has no corresponding setting method).
See forum discussion https://groups.google.com/forum/#!topic/openesignformsdev/XN32rp1MSsQ for details. If the deployment screen date format is changed to "DD FullMonthName YYYY" format, the installation date gets a format error. It appears we cannot parse that date string back to a valid EsfDate object (it is an atypical date format for date input which is generally mm/dd/yyyy in the U.S. or yyyy-mm-dd).
Want to see if we can use Java date routines to parse that long string back to a date, and also why the installation date is being converted at all since it should be read-only and not be updated whatsoever.