You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Kursat Tuncel (JIRA)" <ji...@apache.org> on 2007/08/22 22:58:34 UTC
[jira] Created: (WW-2129) HelloWorld (tutorial) example from Maven
repository not working correctly
HelloWorld (tutorial) example 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
Priority: Trivial
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.
[jira] Updated: (WW-2129) Struts 2 Starter archetype from Maven
repository not working correctly
Posted by "James Holmes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Holmes updated WW-2129:
-----------------------------
Summary: Struts 2 Starter archetype from Maven repository not working correctly (was: HelloWorld (tutorial) example from Maven repository not working correctly)
> 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
> Priority: Trivial
>
> 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.
[jira] Resolved: (WW-2129) Struts 2 Starter archetype from Maven
repository not working correctly
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Don Brown resolved WW-2129.
---------------------------
Resolution: Fixed
Deployed as 2.0.9-SNAPSHOT
> 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.
[jira] Commented: (WW-2129) Struts 2 Starter archetype from Maven
repository not working correctly
Posted by "James Holmes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42038 ]
James Holmes commented on WW-2129:
----------------------------------
I committed a fix (SVN revision 570187), but I'm not sure of all of the steps to get the fixed code into the proper Maven repository. I'll leave that for someone else who's more familiar with that.
> 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
> Priority: Trivial
>
> 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.
[jira] Updated: (WW-2129) Struts 2 Starter archetype from Maven
repository not working correctly
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ 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.