You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Milosz Tylenda (JIRA)" <ji...@apache.org> on 2009/06/05 18:18:07 UTC

[jira] Created: (OPENJPA-1124) TestDateQueries and TestQueryTimeout are locale dependent

TestDateQueries and TestQueryTimeout are locale dependent
---------------------------------------------------------

                 Key: OPENJPA-1124
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1124
             Project: OpenJPA
          Issue Type: Test
    Affects Versions: 1.3.0, 2.0.0
            Reporter: Milosz Tylenda
            Assignee: Milosz Tylenda
            Priority: Minor


If you happen to run TestDateQueries and TestQueryTimeout with non-English/American locale, they will fail due to date and number formatting.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENJPA-1124) TestDateQueries and TestQueryTimeout are locale dependent

Posted by "Milosz Tylenda (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milosz Tylenda resolved OPENJPA-1124.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.3.0

Fix applied to trunk and 1.3.x branch.


> TestDateQueries and TestQueryTimeout are locale dependent
> ---------------------------------------------------------
>
>                 Key: OPENJPA-1124
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1124
>             Project: OpenJPA
>          Issue Type: Test
>    Affects Versions: 1.3.0, 2.0.0
>            Reporter: Milosz Tylenda
>            Assignee: Milosz Tylenda
>            Priority: Minor
>             Fix For: 1.3.0, 2.0.0
>
>
> If you happen to run TestDateQueries and TestQueryTimeout with non-English/American locale, they will fail due to date and number formatting.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-1124) TestDateQueries and TestQueryTimeout are locale dependent

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716674#action_12716674 ] 

Donald Woods commented on OPENJPA-1124:
---------------------------------------

Which junit tests exactly are failing for you?
The trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryTimeout.java is using integer timeout for its tests and not anything to do with the system time as far as I remember...

> TestDateQueries and TestQueryTimeout are locale dependent
> ---------------------------------------------------------
>
>                 Key: OPENJPA-1124
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1124
>             Project: OpenJPA
>          Issue Type: Test
>    Affects Versions: 1.3.0, 2.0.0
>            Reporter: Milosz Tylenda
>            Assignee: Milosz Tylenda
>            Priority: Minor
>
> If you happen to run TestDateQueries and TestQueryTimeout with non-English/American locale, they will fail due to date and number formatting.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-1124) TestDateQueries and TestQueryTimeout are locale dependent

Posted by "Milosz Tylenda (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716705#action_12716705 ] 

Milosz Tylenda commented on OPENJPA-1124:
-----------------------------------------

TestDateQueries fails in setUp and TestQueryTimeout fails in testQueryTimeout5. The last one is quite tricky to guess where :)

I have a patch ready and will commit over the week-end.


> TestDateQueries and TestQueryTimeout are locale dependent
> ---------------------------------------------------------
>
>                 Key: OPENJPA-1124
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1124
>             Project: OpenJPA
>          Issue Type: Test
>    Affects Versions: 1.3.0, 2.0.0
>            Reporter: Milosz Tylenda
>            Assignee: Milosz Tylenda
>            Priority: Minor
>
> If you happen to run TestDateQueries and TestQueryTimeout with non-English/American locale, they will fail due to date and number formatting.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.