You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Nico Hoogervorst (JIRA)" <ji...@apache.org> on 2007/03/21 16:35:32 UTC
[jira] Updated: (BEANUTILS-271) [beanutils] converters -
DateLocaleConverter does not always throw an Exception for invalid dates
[ https://issues.apache.org/jira/browse/BEANUTILS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nico Hoogervorst updated BEANUTILS-271:
---------------------------------------
Attachment: DateConverter.java
Workaround:
Attached a DateConverter class that extends DateLocaleConverter.
This DateConverter class overrides the parse method.
To fix this bug, copy the parse method from the DateConverter to the DateLocaleConverter.
> [beanutils] converters - DateLocaleConverter does not always throw an Exception for invalid dates
> -------------------------------------------------------------------------------------------------
>
> Key: BEANUTILS-271
> URL: https://issues.apache.org/jira/browse/BEANUTILS-271
> Project: Commons BeanUtils
> Issue Type: Bug
> Components: ConvertUtils & Converters
> Affects Versions: 1.7.0
> Environment: jdk1.5
> Reporter: Nico Hoogervorst
> Priority: Minor
> Attachments: DateConverter.java
>
>
> example pattern: yyyyMMdd
> example value : 2007011x
> is accepted. The 'x' is ignored.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org