Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014314Openbravo ERPZ. Otherspublic2010-08-25 17:322010-12-09 16:05
shuehner 
dbaz 
urgentmajorhave not tried
closedfixed 
5
2.50 
 
Smartclient
No
0014314: Date-Formatting problems in IE8 using new selector with default expression for a date column
When using a new selector with the columns (creationDate & updated) both having a default expression then in the selector popup the default values for those date fields are rendered as 'NaN-NaN....' which is wrong and leads to further hql errors when those values are send back to the backend...

No tags attached.
blocks feature request 0013458 closed iperdomo It should be possible to assignes default values for fields on selectors 
png 14314.png (119,544) 2010-08-25 17:33
https://issues.openbravo.com/file_download.php?file_id=2952&type=bug
png

? org.test-0.1.1.obx (4,609) 2010-08-25 18:17
https://issues.openbravo.com/file_download.php?file_id=2953&type=bug
? org.testtemplate-0.1.1.obx (3,256) 2010-08-25 18:17
https://issues.openbravo.com/file_download.php?file_id=2954&type=bug
Issue History
2010-08-25 17:32shuehnerNew Issue
2010-08-25 17:32shuehnerAssigned To => iperdomo
2010-08-25 17:33shuehnerFile Added: 14314.png
2010-08-25 18:05iperdomoStatusnew => acknowledged
2010-08-25 18:07iperdomoNote Added: 0030322
2010-08-25 18:07iperdomoStatusacknowledged => scheduled
2010-08-25 18:07iperdomoAssigned Toiperdomo => dbaz
2010-08-25 18:07iperdomofix_in_branch => pi
2010-08-25 18:08iperdomofix_in_branchpi =>
2010-08-25 18:09iperdomoRelationship addedblocks 0013458
2010-08-25 18:16iperdomoNote Added: 0030324
2010-08-25 18:17shuehnerFile Added: org.test-0.1.1.obx
2010-08-25 18:17shuehnerFile Added: org.testtemplate-0.1.1.obx
2010-08-25 22:25hgbotCheckin
2010-08-25 22:25hgbotNote Added: 0030328
2010-08-25 22:25hgbotStatusscheduled => resolved
2010-08-25 22:25hgbotResolutionopen => fixed
2010-08-25 22:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.userinterface.smartclient/rev/d362b60d80d17298591726ce4fd78735745ba6d5 [^]
2010-08-26 12:30hgbotCheckin
2010-08-26 12:30hgbotNote Added: 0030345
2010-08-26 12:30hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/mods/org.openbravo.userinterface.smartclient/rev/d362b60d80d17298591726ce4fd78735745ba6d5 [^] => http://code.openbravo.com/erp/mods/org.openbravo.userinterface.smartclient/rev/1b468dc369b0862e0cba32714d80a83c4fd8c656 [^]
2010-08-30 14:08shuehnerNote Added: 0030463
2010-08-30 14:08shuehnerStatusresolved => closed
2010-12-09 16:05anonymoussf_bug_id0 => 3133402

Notes
(0030322)
iperdomo   
2010-08-25 18:07   
This call returns NaN:
OB.Utilities.Date.OBToJS('25-10-2010','dd-MM-yyyy')
(0030324)
iperdomo   
2010-08-25 18:16   
The call in the previous note, works fine in Firefox and Chrome, but fails in IE8
(0030328)
hgbot   
2010-08-25 22:25   
Repository: erp/mods/org.openbravo.userinterface.smartclient
Changeset: d362b60d80d17298591726ce4fd78735745ba6d5
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Wed Aug 25 22:25:20 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.userinterface.smartclient/rev/d362b60d80d17298591726ce4fd78735745ba6d5 [^]

Fixed issue 14314: Now date object is well built in all browsers

---
M web/org.openbravo.userinterface.smartclient/js/utilities.js
---
(0030345)
hgbot   
2010-08-26 12:30   
Repository: erp/mods/org.openbravo.userinterface.smartclient
Changeset: 1b468dc369b0862e0cba32714d80a83c4fd8c656
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Thu Aug 26 12:30:39 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.userinterface.smartclient/rev/1b468dc369b0862e0cba32714d80a83c4fd8c656 [^]

Fixed issue 14314: Now date object is well built in all browsers - part2

---
M web/org.openbravo.userinterface.smartclient/js/utilities.js
---
(0030463)
shuehner   
2010-08-30 14:08   
Tested on IE8: Now date is displayed and working. Retested on FF3.6.8 and Chromium5 date-filter still working as before.