Date error with new row dialog?

User 596f3ef229

14-03-2009 09:12:02

I have noticed what I believe is an error entering dates when creating new rows in a IJC database. to reproduce:
  1. Create a database with structure and date fields
  2. Open a grid view.
  3. Click the "new row" button.
  4. Draw a structure and click the date browser button to select a date.
  5. select any date - i selected today 14 March 2009
  6. When you click "close" the date entered into the grid is 14/03/0009 not 14/03/2009
  7. if you click the date button in grid view, it does indeed open to the year 0009 but selecting the correct date does change the value to the correct date
  8. Also, if you manually edit the value in grid view and type "14/03/2009", it accepts the value just fine.
Can anyone confirm this error? I am using the lastest java webstart version of IJC (2.4.2).

ChemAxon fa971619eb

16-03-2009 17:56:21

We are investigating this.


I can't reproduce it, but it might be operating system specific, or locale specific.





Can you tell us which OS and regional settings you are using?





Tim

User 596f3ef229

17-03-2009 00:20:34

Thanks Tim.





The place where the incorrect date selection occurs is only in the add new row dialog (see attachment).








I am running WinXP SP2 with JRE 6U11 (6U10 until this morning). My region settings are for Australia as shown in the second attachment.

User 596f3ef229

17-03-2009 00:34:02

I just checked on another client running WinXP SP2 and JRE 1.5.0_09 - same result. Both clients are running the JWS version of IJC 2.4.2.





I just created a new local jchem database, added a date field and tried to add a new row.





The date dialog accessed directly from the grid or form works as expected (ie the correct date is entered).

ChemAxon fa971619eb

18-03-2009 07:32:35

We have identified this as locale specific. We already have a fix that will be present in the next update.





Tim

ChemAxon fa971619eb

19-03-2009 14:51:27

This problem should now be fixed in the recent 2.4.3.1 update.





Thanks


Tim

User 596f3ef229

20-03-2009 00:06:48

nice. mucho gracias!!





mc