You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2012/09/14 21:49:08 UTC

[jira] [Commented] (WW-3841) Struts 2 losing timestamp in java.util.Date when validation failed

    [ https://issues.apache.org/jira/browse/WW-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456069#comment-13456069 ] 

Lukasz Lenart commented on WW-3841:
-----------------------------------

The example is invalid, user.born is an Integer not a Date
                
> Struts 2 losing timestamp in java.util.Date when validation failed
> ------------------------------------------------------------------
>
>                 Key: WW-3841
>                 URL: https://issues.apache.org/jira/browse/WW-3841
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.3.3
>         Environment: jdk 1.6, windows
>            Reporter: J. Garcia
>             Fix For: 2.3.5
>
>         Attachments: struts-test_5.zip
>
>
> A full example based on struts2 blank archetype attached.
> Run with maven2: mvn jetty:run
> Url: http://localhost:8080/struts-test/example/Login
> Enter as year of birth a bad integer: 1980aaa
> You'll see the timestamp still there, BUT the milliseconds are set to zero. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira