Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026228Openbravo ERPA. Platformpublic2014-04-09 16:292014-05-07 18:11
AugustoMauch 
AugustoMauch 
urgentcriticalhave not tried
closedfixed 
5
 
3.0PR14Q23.0PR14Q2 
shankarb
Core
No
0026228: Date and datetime fields are not displayed properly in the tree grid view
The date and datetime fields are shown empty in the tree grid view, even if they actually have a value that is shown in the standard grid view.
- Open the Organization window
- While in the standard grid view, show the Creation Date field
- Check that all the records have values in that field (this is OK)
- Switch to the tree grid view
- Check that no values are shown for the Creation Date field (this is not OK)
No tags attached.
related to defect 00263553.0PR14Q2 closed AugustoMauch Date and datetime fields are still not displayed properly in the tree grid view 
Issue History
2014-04-09 16:29AugustoMauchNew Issue
2014-04-09 16:29AugustoMauchAssigned To => AugustoMauch
2014-04-09 16:29AugustoMauchModules => Core
2014-04-09 16:29AugustoMauchTriggers an Emergency Pack => No
2014-04-09 16:33AugustoMauchIssue Monitored: shankarb
2014-04-09 16:33AugustoMauchReview Assigned To => shankarb
2014-04-09 16:34hgbotCheckin
2014-04-09 16:34hgbotNote Added: 0066272
2014-04-09 16:34hgbotStatusnew => resolved
2014-04-09 16:34hgbotResolutionopen => fixed
2014-04-09 16:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/125620fe071d94d9aeb45d5cfedc5a8f5896dcc1 [^]
2014-04-10 18:24AugustoMauchNote Added: 0066331
2014-04-10 18:24AugustoMauchStatusresolved => new
2014-04-10 18:24AugustoMauchResolutionfixed => open
2014-04-10 18:31hgbotCheckin
2014-04-10 18:31hgbotNote Added: 0066332
2014-04-10 18:31hgbotStatusnew => resolved
2014-04-10 18:31hgbotResolutionopen => fixed
2014-04-10 18:31hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/125620fe071d94d9aeb45d5cfedc5a8f5896dcc1 [^] => http://code.openbravo.com/erp/devel/pi/rev/2107a74db26b23fd00c491d78f4c3782281b1eca [^]
2014-04-15 19:00hgbotCheckin
2014-04-15 19:00hgbotNote Added: 0066464
2014-04-16 12:19hgbotCheckin
2014-04-16 12:19hgbotNote Added: 0066484
2014-04-16 12:20hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/2107a74db26b23fd00c491d78f4c3782281b1eca [^] => http://code.openbravo.com/erp/devel/pi/rev/1e34d41332ca0b1a1187f805c51c686e3b1fc27e [^]
2014-04-16 12:39shankarbNote Added: 0066487
2014-04-16 12:39shankarbStatusresolved => closed
2014-04-16 12:39shankarbFixed in Version => PR14Q2
2014-04-24 10:04AugustoMauchRelationship addedrelated to 0026355
2014-05-07 18:11hudsonbotCheckin
2014-05-07 18:11hudsonbotNote Added: 0066908
2014-05-07 18:11hudsonbotCheckin
2014-05-07 18:11hudsonbotNote Added: 0066920
2014-05-07 18:11hudsonbotCheckin
2014-05-07 18:11hudsonbotNote Added: 0066937
2014-05-07 18:11hudsonbotCheckin
2014-05-07 18:11hudsonbotNote Added: 0066940

Notes
(0066272)
hgbot   
2014-04-09 16:34   
Repository: erp/devel/pi
Changeset: 125620fe071d94d9aeb45d5cfedc5a8f5896dcc1
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Apr 09 16:33:20 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/125620fe071d94d9aeb45d5cfedc5a8f5896dcc1 [^]

Fixes issue 26228: Date and datetime fields are not shown in the tree grid view

The problem was that in the tree grid view the applyCellTypeFormatters was being called passing the date value as a string, when that function expects a date object. This has been solved by detecting this case and converting the value from string to date before calling applyCellTypeFormatters.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-grid.js
---
(0066331)
AugustoMauch   
2014-04-10 18:24   
The fix works only for datetime fields.
(0066332)
hgbot   
2014-04-10 18:31   
Repository: erp/devel/pi
Changeset: 2107a74db26b23fd00c491d78f4c3782281b1eca
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Apr 10 18:30:33 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2107a74db26b23fd00c491d78f4c3782281b1eca [^]

Fixes issue 26228: Date fields are not displayed properly in the tree grid view

The previous fix did not take into account the date fields, it only worked for datetime fields.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-grid.js
---
(0066464)
hgbot   
2014-04-15 19:00   
Repository: erp/devel/pi
Changeset: 9f4a800d3f0a5cf2176649826484d57fd32ac3bf
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Apr 15 18:59:23 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9f4a800d3f0a5cf2176649826484d57fd32ac3bf [^]

Related to issue 26228: Date and datetime fields are shown properly in treeview

If a date or datetime field was shown in the tree grid view, the record was shown properly. But if then the record was opened in form view, the value of its date and datetime fields was being deleted.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-grid.js
---
(0066484)
hgbot   
2014-04-16 12:19   
Repository: erp/devel/pi
Changeset: 1e34d41332ca0b1a1187f805c51c686e3b1fc27e
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Apr 16 12:18:32 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1e34d41332ca0b1a1187f805c51c686e3b1fc27e [^]

Fixes issue 26228: Includes missing change done in ob-smartclient.js

Without the missing text the transformData of ob-tree.js was not being called, and the dates were not being shown properly in the tree grid view.

Also includes change done in ob-tree-grid to fix the js spacing.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-grid.js
M modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
---
(0066487)
shankarb   
2014-04-16 12:39   
Code reviewed and verified in pi changeset 1e34d41332ca.
(0066908)
hudsonbot   
2014-05-07 18:11   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/02ca2648bcdc [^]
Maturity status: Test
(0066920)
hudsonbot   
2014-05-07 18:11   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/02ca2648bcdc [^]
Maturity status: Test
(0066937)
hudsonbot   
2014-05-07 18:11   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/02ca2648bcdc [^]
Maturity status: Test
(0066940)
hudsonbot   
2014-05-07 18:11   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/02ca2648bcdc [^]
Maturity status: Test