Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-720

Possible time zone issue in SupportedDateMethods

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JDO 3 update 1 (3.0.1)
    • JDO 3.1-rc1
    • tck
    • None

    Description

      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.

      Attachments

        1. JDO-720.patch
          28 kB
          Michael Bouschen

        Activity

          People

            mbo Michael Bouschen
            mbo Michael Bouschen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: