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] [Created] (JDO-720) Possible time zone issue in SupportedDateMethods
Date Sat, 13 Apr 2013 20:16:15 GMT
Michael Bouschen created JDO-720:
------------------------------------

             Summary: 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)


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