Struts 2
  1. Struts 2
  2. WW-3841

Struts 2 losing timestamp in java.util.Date when validation failed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.3.3
    • Fix Version/s: 2.3.12
    • Component/s: Core Interceptors
    • Labels:
      None
    • Environment:

      jdk 1.6, windows

      Description

      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.

        Issue Links

          Activity

            People

            • Assignee:
              Lukasz Lenart
              Reporter:
              J. Garcia
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development