You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2009/11/12 16:03:39 UTC
[jira] Created: (OPENJPA-1383) tests rely on US date formatting
without setting the correct Locale
tests rely on US date formatting without setting the correct Locale
-------------------------------------------------------------------
Key: OPENJPA-1383
URL: https://issues.apache.org/jira/browse/OPENJPA-1383
Project: OpenJPA
Issue Type: Bug
Affects Versions: 2.0.0-M2
Reporter: Mark Struberg
A few tests fail if built on a non-US locale (using de.AT here):
{noformat}
java.text.ParseException: Unparseable date: "10/01/2008 1:51 AM"
at java.text.DateFormat.parse(DateFormat.java:337)
at org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults.populate(TestJPQLMultiSelectTypedResults.java:73)
at org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults.setUp(TestJPQLMultiSelectTypedResults.java:55)
{noformat}
tests in error:
{noformat}
testMultipleConstructor(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
testMultipleConstructorMixWithMultiSelect(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
testMultiSelect(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
testMultiSelect(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
testTypedJPQLQuery(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
testDateQuery(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
{noformat}
Please manually set the proper Locale in the tests
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (OPENJPA-1383) tests rely on US date formatting
without setting the correct Locale
Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dick closed OPENJPA-1383.
---------------------------------
Resolution: Fixed
Glad it worked, thanks Mark.
> tests rely on US date formatting without setting the correct Locale
> -------------------------------------------------------------------
>
> Key: OPENJPA-1383
> URL: https://issues.apache.org/jira/browse/OPENJPA-1383
> Project: OpenJPA
> Issue Type: Bug
> Affects Versions: 2.0.0-M2
> Reporter: Mark Struberg
> Assignee: Michael Dick
>
> A few tests fail if built on a non-US locale (using de.AT here):
> {noformat}
> java.text.ParseException: Unparseable date: "10/01/2008 1:51 AM"
> at java.text.DateFormat.parse(DateFormat.java:337)
> at org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults.populate(TestJPQLMultiSelectTypedResults.java:73)
> at org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults.setUp(TestJPQLMultiSelectTypedResults.java:55)
> {noformat}
> tests in error:
> {noformat}
> testMultipleConstructor(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultipleConstructorMixWithMultiSelect(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultiSelect(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultiSelect(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> testTypedJPQLQuery(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> testDateQuery(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> {noformat}
> Please manually set the proper Locale in the tests
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OPENJPA-1383) tests rely on US date formatting
without setting the correct Locale
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods updated OPENJPA-1383:
----------------------------------
Fix Version/s: 2.0.0-beta
> tests rely on US date formatting without setting the correct Locale
> -------------------------------------------------------------------
>
> Key: OPENJPA-1383
> URL: https://issues.apache.org/jira/browse/OPENJPA-1383
> Project: OpenJPA
> Issue Type: Bug
> Affects Versions: 2.0.0-M2
> Reporter: Mark Struberg
> Assignee: Michael Dick
> Fix For: 2.0.0-beta
>
>
> A few tests fail if built on a non-US locale (using de.AT here):
> {noformat}
> java.text.ParseException: Unparseable date: "10/01/2008 1:51 AM"
> at java.text.DateFormat.parse(DateFormat.java:337)
> at org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults.populate(TestJPQLMultiSelectTypedResults.java:73)
> at org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults.setUp(TestJPQLMultiSelectTypedResults.java:55)
> {noformat}
> tests in error:
> {noformat}
> testMultipleConstructor(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultipleConstructorMixWithMultiSelect(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultiSelect(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultiSelect(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> testTypedJPQLQuery(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> testDateQuery(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> {noformat}
> Please manually set the proper Locale in the tests
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (OPENJPA-1383) tests rely on US date formatting
without setting the correct Locale
Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777996#action_12777996 ]
Mark Struberg commented on OPENJPA-1383:
----------------------------------------
retested - works now, txs!
> tests rely on US date formatting without setting the correct Locale
> -------------------------------------------------------------------
>
> Key: OPENJPA-1383
> URL: https://issues.apache.org/jira/browse/OPENJPA-1383
> Project: OpenJPA
> Issue Type: Bug
> Affects Versions: 2.0.0-M2
> Reporter: Mark Struberg
>
> A few tests fail if built on a non-US locale (using de.AT here):
> {noformat}
> java.text.ParseException: Unparseable date: "10/01/2008 1:51 AM"
> at java.text.DateFormat.parse(DateFormat.java:337)
> at org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults.populate(TestJPQLMultiSelectTypedResults.java:73)
> at org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults.setUp(TestJPQLMultiSelectTypedResults.java:55)
> {noformat}
> tests in error:
> {noformat}
> testMultipleConstructor(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultipleConstructorMixWithMultiSelect(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultiSelect(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultiSelect(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> testTypedJPQLQuery(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> testDateQuery(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> {noformat}
> Please manually set the proper Locale in the tests
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (OPENJPA-1383) tests rely on US date formatting
without setting the correct Locale
Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777073#action_12777073 ]
Michael Dick commented on OPENJPA-1383:
---------------------------------------
Checked in changes to use DateFormat.SHORT and Locale.US - let me know if this works for you.
> tests rely on US date formatting without setting the correct Locale
> -------------------------------------------------------------------
>
> Key: OPENJPA-1383
> URL: https://issues.apache.org/jira/browse/OPENJPA-1383
> Project: OpenJPA
> Issue Type: Bug
> Affects Versions: 2.0.0-M2
> Reporter: Mark Struberg
>
> A few tests fail if built on a non-US locale (using de.AT here):
> {noformat}
> java.text.ParseException: Unparseable date: "10/01/2008 1:51 AM"
> at java.text.DateFormat.parse(DateFormat.java:337)
> at org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults.populate(TestJPQLMultiSelectTypedResults.java:73)
> at org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults.setUp(TestJPQLMultiSelectTypedResults.java:55)
> {noformat}
> tests in error:
> {noformat}
> testMultipleConstructor(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultipleConstructorMixWithMultiSelect(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultiSelect(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultiSelect(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> testTypedJPQLQuery(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> testDateQuery(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> {noformat}
> Please manually set the proper Locale in the tests
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (OPENJPA-1383) tests rely on US date formatting
without setting the correct Locale
Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dick reassigned OPENJPA-1383:
-------------------------------------
Assignee: Michael Dick
> tests rely on US date formatting without setting the correct Locale
> -------------------------------------------------------------------
>
> Key: OPENJPA-1383
> URL: https://issues.apache.org/jira/browse/OPENJPA-1383
> Project: OpenJPA
> Issue Type: Bug
> Affects Versions: 2.0.0-M2
> Reporter: Mark Struberg
> Assignee: Michael Dick
>
> A few tests fail if built on a non-US locale (using de.AT here):
> {noformat}
> java.text.ParseException: Unparseable date: "10/01/2008 1:51 AM"
> at java.text.DateFormat.parse(DateFormat.java:337)
> at org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults.populate(TestJPQLMultiSelectTypedResults.java:73)
> at org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults.setUp(TestJPQLMultiSelectTypedResults.java:55)
> {noformat}
> tests in error:
> {noformat}
> testMultipleConstructor(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultipleConstructorMixWithMultiSelect(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultiSelect(org.apache.openjpa.persistence.query.results.TestJPQLMultiSelectTypedResults)
> testMultiSelect(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> testTypedJPQLQuery(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> testDateQuery(org.apache.openjpa.persistence.criteria.results.TestTypedResults)
> {noformat}
> Please manually set the proper Locale in the tests
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.