Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016392Openbravo ERPA. Platformpublic2011-03-21 09:542011-06-10 13:47
marvintm 
marvintm 
urgentmajorhave not tried
closedfixed 
5
 
 
Core
No
0016392: When using a date format different from the standard, windows with @#Date@ defaults do not work
When the Openbravo.properties file is configured with a date format different from the standard, if a window has a date column with default @#Date@, the Form Initialization Component will fail, and the window will not get any default values in the fields when a new record is created.

A possible format to trigger this behaviour would be:


dateFormat.js=%d/%m/%Y
dateFormat.sql=DD/MM/YYYY
dateFormat.java=dd/MM/yyyy
dateTimeFormat.java=dd/MM/yyyy HH:mm:ss
dateTimeFormat.sql=DD/MM/YYYY HH24:MI:SS
Just go to a window which has a @#Date@ default in a date field (such as Sales Order), and create a new record.
No tags attached.
Issue History
2011-03-21 09:54marvintmNew Issue
2011-03-21 09:54marvintmAssigned To => marvintm
2011-03-21 09:54marvintmModules => Core
2011-03-21 10:00hgbotCheckin
2011-03-21 10:00hgbotNote Added: 0035073
2011-03-21 10:00hgbotStatusnew => resolved
2011-03-21 10:00hgbotResolutionopen => fixed
2011-03-21 10:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0fca97269ea537c26f4bdb417bc112b824147122 [^]
2011-03-21 11:27iperdomoNote Added: 0035082
2011-03-21 11:27iperdomoStatusresolved => closed
2011-03-22 00:00anonymoussf_bug_id0 => 3233264
2011-04-07 11:09hgbotCheckin
2011-04-07 11:09hgbotNote Added: 0035699
2011-04-07 11:09hgbotStatusclosed => resolved
2011-04-07 11:09hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/0fca97269ea537c26f4bdb417bc112b824147122 [^] => http://code.openbravo.com/erp/devel/pi/rev/6bc33d84f6ddb4db93530a59af0c7d874eb03dd4 [^]
2011-06-10 13:47shuehnerNote Added: 0038238
2011-06-10 13:47shuehnerStatusresolved => closed

Notes
(0035073)
hgbot   
2011-03-21 10:00   
Repository: erp/devel/pi
Changeset: 0fca97269ea537c26f4bdb417bc112b824147122
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Mar 21 09:59:15 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0fca97269ea537c26f4bdb417bc112b824147122 [^]

Fixed issue 16392. @#Date@ defaults will be computed correctly in case of non-standard date format

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/UIDefinition.java
---
(0035082)
iperdomo   
2011-03-21 11:27   
Closed in pi @ rev 0fca97269ea5
Using date format: YYYY/MM/DD
(0035699)
hgbot   
2011-04-07 11:09   
Repository: erp/devel/pi
Changeset: 6bc33d84f6ddb4db93530a59af0c7d874eb03dd4
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Mar 21 09:59:15 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6bc33d84f6ddb4db93530a59af0c7d874eb03dd4 [^]

Fixed issue 16392. @#Date@ defaults will be computed correctly in case of non-standard date format

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/UIDefinition.java
---
(0038238)
shuehner   
2011-06-10 13:47   
Just marking as closed without testing/review as was changed from close -> resolved by some merge after has been already reviewed and closed.