Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027633Openbravo ERPA. Platformpublic2014-09-18 10:182014-09-22 09:15
jonalegriaesarte 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
3.0PR15Q13.0PR14Q4 
shankarb
Core
No
0027633: Tree view keeps showing the loading message when there is no data to show
Tree view keeps showing the loading message when there is no data to show
As F&B Admin
- Open the Product Characteristics window
- Create a new record in the header tab
- Go to the Value subtab. It does not have any records.
- Open the tree view. Check that the Loading message is shown and never hidden
No tags attached.
Issue History
2014-09-18 10:18jonalegriaesarteNew Issue
2014-09-18 10:18jonalegriaesarteAssigned To => AugustoMauch
2014-09-18 10:18jonalegriaesarteModules => Core
2014-09-18 10:18jonalegriaesarteResolution time => 1417388400
2014-09-18 10:18jonalegriaesarteTriggers an Emergency Pack => No
2014-09-18 10:25AugustoMauchSummaryTree view keeps always loading when there is no data to show => Tree view keeps showing the loading message when there is no data to show
2014-09-18 10:25AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=6579#r6579
2014-09-18 10:25AugustoMauchSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6581#r6581
2014-09-18 17:21AugustoMauchIssue Monitored: shankarb
2014-09-18 17:22AugustoMauchReview Assigned To => shankarb
2014-09-18 17:23hgbotCheckin
2014-09-18 17:23hgbotNote Added: 0070196
2014-09-18 17:23hgbotStatusnew => resolved
2014-09-18 17:23hgbotResolutionopen => fixed
2014-09-18 17:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f593014afc2a2c93dd3b9b504f6118f3d448a865 [^]
2014-09-19 20:23hudsonbotCheckin
2014-09-19 20:23hudsonbotNote Added: 0070216
2014-09-22 09:15shankarbNote Added: 0070221
2014-09-22 09:15shankarbStatusresolved => closed
2014-09-22 09:15shankarbFixed in Version => 3.0PR14Q4

Notes
(0070196)
hgbot   
2014-09-18 17:23   
Repository: erp/devel/pi
Changeset: f593014afc2a2c93dd3b9b504f6118f3d448a865
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Sep 18 17:21:13 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f593014afc2a2c93dd3b9b504f6118f3d448a865 [^]

Fixes issue 27633: Tree view does not show Loading message when it has no data

The problem was that the noDataEmptyMessage attribute, that contains the message to be shown when the grid does not have any data, did not have the proper value. This attribute is reused to also show the Loading message while the datasource request is being processed, but was not being reset to its proper value (OBUIAPP_NoDataInGrid message) when the data arrived to the tree.

Now in the OBTreeViewGrid.dataArrived function the message is properly reset before invoking the resetEmptyMessage function, that will actually display the message if the datasource did not return any records.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js
---
(0070216)
hudsonbot   
2014-09-19 20:23   
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/af234b76a941 [^]
Maturity status: Test
(0070221)
shankarb   
2014-09-22 09:15   
Code reviewed and verified in pi changeset 99b060690c1f