db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bouschen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JDO-720) Possible time zone issue in SupportedDateMethods
Date Fri, 24 May 2013 18:56:19 GMT

    [ https://issues.apache.org/jira/browse/JDO-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666547#comment-13666547
] 

Michael Bouschen commented on JDO-720:
--------------------------------------

Committed the patch w/o the change in Person,java, since it was for debugging only (see revision
1486167).
                
> Possible time zone issue in SupportedDateMethods
> ------------------------------------------------
>
>                 Key: JDO-720
>                 URL: https://issues.apache.org/jira/browse/JDO-720
>             Project: JDO
>          Issue Type: Bug
>          Components: tck
>    Affects Versions: JDO 3 update 1 (3.0.1)
>            Reporter: Michael Bouschen
>             Fix For: JDO 3 maintenance release 1 (3.1)
>
>         Attachments: JDO-720.patch
>
>
> The TCK query test SupportedDateMethods fails when running a Date.getDate query: the
query result is empty where it should include an employee instacne. 
> Please note, the failure occurs when running the test in California and Arizona, but
not in Europe. 
> Looks like the problem is in the company model reader creating a date in the America/New_York
time zone that is actually yesterday in other time zones, so the tests fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message