[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to