[
https://issues.apache.org/struts/browse/WW-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Don Brown updated WW-2129:
--------------------------
Fix Version/s: 2.0.10
Assignee: Don Brown
> Struts 2 Starter archetype from Maven repository not working correctly
> ----------------------------------------------------------------------
>
> Key: WW-2129
> URL: https://issues.apache.org/struts/browse/WW-2129
> Project: Struts 2
> Issue Type: Bug
> Components: Misc
> Affects Versions: 2.0.9
> Environment: does not matter
> Reporter: Kursat Tuncel
> Assignee: Don Brown
> Priority: Trivial
> Fix For: 2.0.10
>
>
> HelloWorld example (tutorial) build from Maven repository does not handle
> DateConverter properly.
> In IndexAction.java
> line 33
> @TypeConversion(converter = "com.fdar.apress.s2.DateConverter")
> should be changed to
> @TypeConversion(converter = "tutorial.DateConverter")
> This example does not work, because there is no
> com.fdar.apress.s2.DateConverter class, so TypeConversion does not apply and
> date field defaults to the format supported by default locale, which may be
> different than the expected format, yyyy/MM/dd , for example in Turkish
> locale, dd.MM.yyyy is default, so HelloWorld example keeps giving "Invalid
> date format" error.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.