Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010435Openbravo ERPB. User interfacepublic2009-08-31 11:372009-09-14 23:14
networkb 
dbaz 
urgentminoralways
closedfixed 
5
2.50MP1 
2.50MP62.50MP6 
Core
No
0010435: It is not possible to edit a date like MM-DD-YY
If this kind of date is used: MM-DD-YY, it is not possible to edit a date. Autocomplete function does not work and calendar is not opened.

However, it is possible to save properly records in the application.

Openbravo.properties was changed to:

dateFormat.js=%m/%d/%Y
dateFormat.sql=MM/DD/YY
dateFormat.java=MM/dd/yy
dateTimeFormat.java=MM/dd/yy HH:mm:ss
Modify Openbravo.properties as we have said.
ant compile.complete
Enter a new record in Procurement Management > Transactions > Purchase order.
Try to edit the date.
You will get a Javascript error (see attached image)
No tags attached.
png JSError.png (100,966) 2009-08-31 12:37
https://issues.openbravo.com/file_download.php?file_id=1689&type=bug
png
Issue History
2009-08-31 11:37networkbNew Issue
2009-08-31 11:37networkbAssigned To => rafaroda
2009-08-31 12:09networkbTarget Version2.50MP1 => 2.50MP6
2009-08-31 12:11networkbversion => 2.50MP1
2009-08-31 12:37rafarodaAssigned Torafaroda => dbaz
2009-08-31 12:37rafarodaPriorityimmediate => urgent
2009-08-31 12:37rafarodaProposed Solution updated
2009-08-31 12:37rafarodaStatusnew => scheduled
2009-08-31 12:37rafarodaFile Added: JSError.png
2009-08-31 17:33dbazNote Added: 0019352
2009-08-31 17:33dbazNote Added: 0019353
2009-08-31 20:29hgbotCheckin
2009-08-31 20:29hgbotNote Added: 0019356
2009-08-31 20:29hgbotStatusscheduled => resolved
2009-08-31 20:29hgbotResolutionopen => fixed
2009-08-31 20:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/af60777192a4ab7c5d9c19969fe968cba1039ab8 [^]
2009-09-08 21:47hgbotCheckin
2009-09-08 21:47hgbotNote Added: 0019547
2009-09-08 21:47hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/af60777192a4ab7c5d9c19969fe968cba1039ab8 [^] => http://code.openbravo.com/erp/devel/pi/rev/fd73e1f6bae4740b904a52b6dc2c3f1711286fa3 [^]
2009-09-08 21:52hudsonbotCheckin
2009-09-08 21:52hudsonbotNote Added: 0019548
2009-09-08 21:52hudsonbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/fd73e1f6bae4740b904a52b6dc2c3f1711286fa3 [^] =>
2009-09-08 22:03hudsonbotCheckin
2009-09-08 22:03hudsonbotNote Added: 0019549
2009-09-08 23:14hudsonbotCheckin
2009-09-08 23:14hudsonbotNote Added: 0019550
2009-09-09 00:30hudsonbotCheckin
2009-09-09 00:30hudsonbotNote Added: 0019553
2009-09-09 00:38hudsonbotCheckin
2009-09-09 00:38hudsonbotNote Added: 0019554
2009-09-09 00:52hudsonbotCheckin
2009-09-09 00:52hudsonbotNote Added: 0019555
2009-09-09 10:39hudsonbotCheckin
2009-09-09 10:39hudsonbotNote Added: 0019573
2009-09-09 11:03hudsonbotCheckin
2009-09-09 11:03hudsonbotNote Added: 0019579
2009-09-09 14:40hudsonbotCheckin
2009-09-09 14:40hudsonbotNote Added: 0019602
2009-09-09 21:44hudsonbotCheckin
2009-09-09 21:44hudsonbotNote Added: 0019636
2009-09-09 23:13hudsonbotCheckin
2009-09-09 23:13hudsonbotNote Added: 0019638
2009-09-10 00:56hudsonbotCheckin
2009-09-10 00:56hudsonbotNote Added: 0019652
2009-09-10 09:04hudsonbotCheckin
2009-09-10 09:04hudsonbotNote Added: 0019685
2009-09-10 14:38hudsonbotCheckin
2009-09-10 14:38hudsonbotNote Added: 0019729
2009-09-10 17:33hudsonbotCheckin
2009-09-10 17:33hudsonbotNote Added: 0019749
2009-09-10 23:14hudsonbotCheckin
2009-09-10 23:14hudsonbotNote Added: 0019770
2009-09-11 12:03sureshbabuStatusresolved => closed
2009-09-11 12:03sureshbabuNote Added: 0019801
2009-09-11 12:03sureshbabuFixed in Version => 2.50MP6
2009-09-11 23:14hudsonbotCheckin
2009-09-11 23:14hudsonbotNote Added: 0019836
2009-09-12 00:00anonymoussf_bug_id0 => 2857210
2009-09-14 11:51hudsonbotCheckin
2009-09-14 11:51hudsonbotNote Added: 0019885
2009-09-14 23:14hudsonbotCheckin
2009-09-14 23:14hudsonbotNote Added: 0019989

Notes
(0019352)
dbaz   
2009-08-31 17:33   
If you want MM-DD-YY you need to set as

dateFormat.js=%m-%d-%y
dateFormat.sql=MM-DD-YY
dateFormat.java=MM-dd-yy
dateTimeFormat.java=MM-dd-yy HH:mm:ss

with "-" date separators.

If you want MM/DD/YY you need

dateFormat.js=%m/%d/%y
dateFormat.sql=MM/DD/YY
dateFormat.java=MM/dd/yy
dateTimeFormat.java=MM/dd/yy HH:mm:ss

Any case, please notice that
%y equals to YY
%Y equals to YYYY
(0019353)
dbaz   
2009-08-31 17:33   
Any way, this night you will get the fix but just for 2.50, it is ok for you?
(0019356)
hgbot   
2009-08-31 20:29   
Repository: erp/devel/pi
Changeset: af60777192a4ab7c5d9c19969fe968cba1039ab8
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Mon Aug 31 19:30:39 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/af60777192a4ab7c5d9c19969fe968cba1039ab8 [^]

Fixed bug 10435: Now calendar and auto complete work in date fields with 'YY' year

---
M src/org/openbravo/erpCommon/security/Login_F1.html
M web/js/utils.js
---
(0019547)
hgbot   
2009-09-08 21:47   
Repository: erp/devel/pi
Changeset: fd73e1f6bae4740b904a52b6dc2c3f1711286fa3
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Tue Sep 08 20:37:25 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fd73e1f6bae4740b904a52b6dc2c3f1711286fa3 [^]

Fixed bug 10435: part 2

---
M web/js/default/DateTextBox.js
---
(0019548)
hudsonbot   
2009-09-08 21:52   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-inc-pgsql/839/ [^]
------
(0019549)
hudsonbot   
2009-09-08 22:03   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-inc-oracle/733/ [^]
------
(0019550)
hudsonbot   
2009-09-08 23:14   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-integrity-test/134/ [^]
------
(0019553)
hudsonbot   
2009-09-09 00:30   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-full-oracle/334/ [^]
------
(0019554)
hudsonbot   
2009-09-09 00:38   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-full-pgsql/340/ [^]
------
(0019555)
hudsonbot   
2009-09-09 00:52   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-installation-test/82/ [^]
------
(0019573)
hudsonbot   
2009-09-09 10:39   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-pgsql-smoke-test/58/ [^]
------
(0019579)
hudsonbot   
2009-09-09 11:03   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-installation-test/83/ [^]
------
(0019602)
hudsonbot   
2009-09-09 14:40   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-installation-test/84/ [^]
------
(0019636)
hudsonbot   
2009-09-09 21:44   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-installation-test/85/ [^]
------
(0019638)
hudsonbot   
2009-09-09 23:13   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-integrity-test/135/ [^]
------
(0019652)
hudsonbot   
2009-09-10 00:56   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-installation-test/86/ [^]
------
(0019685)
hudsonbot   
2009-09-10 09:04   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-installation-test/87/ [^]
------
(0019729)
hudsonbot   
2009-09-10 14:38   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-installation-test/88/ [^]
------
(0019749)
hudsonbot   
2009-09-10 17:33   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-installation-test/89/ [^]
------
(0019770)
hudsonbot   
2009-09-10 23:14   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-integrity-test/136/ [^]
------
(0019801)
sureshbabu   
2009-09-11 12:03   
Tested after changing the date format to dateFormat.js=%m/%d/%y
dateFormat.sql=MM/DD/YY
dateFormat.java=MM/dd/yy
dateTimeFormat.java=MM/dd/yy HH:mm:ss

able to edit the date and also auto complete functionality is working.
(0019836)
hudsonbot   
2009-09-11 23:14   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-integrity-test/137/ [^]
------
(0019885)
hudsonbot   
2009-09-14 11:51   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-integrity-test/138/ [^]
------
(0019989)
hudsonbot   
2009-09-14 23:14   
Fixed Issue 10435

------
Integrated in http://builds.openbravo.com/job/erp_devel_pi-module-integrity-test/139/ [^]
------