[
https://issues.apache.org/jira/browse/OFBIZ-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429187#comment-13429187
]
Christoph Neuroth commented on OFBIZ-4982:
------------------------------------------
Of course, proper client-side validation for the date format would be the way
to go. This patch merely prevents unhandled exceptions popping up in log files
and screen rendering error texts presented to the user.
> js issue causes error when invalid dates are entered
> ----------------------------------------------------
>
> Key: OFBIZ-4982
> URL: https://issues.apache.org/jira/browse/OFBIZ-4982
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Christoph Neuroth
> Assignee: Sascha Rodekamp
> Priority: Minor
> Attachments: ofbiz-i18n_dateinput_null_fix.patch
>
>
> Reproduce: Enter "123" in a DateField. This will trigger a JS exception and
> the invalid value will be sent to the server on form submission, probably
> causing server-side exceptions in badly written backend code, resulting in
> really bad error messages for the user.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira