Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037400Openbravo ERPA. Platformpublic2017-11-27 18:232017-12-01 10:07
caristu 
caristu 
immediateminoralways
closedfixed 
5
 
3.0PR17Q3.23.0PR17Q3.2 
alostale
Core
Production - QA Approved
2017-03-30
3.0PR17Q3
https://code.openbravo.com/erp/devel/pi/rev/1f63d7f9e0618c52fa8f9b4fae7d1350782d22d9 [^]
No
0037400: Duplicated DS Request to the tree datasource having the tree view displayed in a sub-tab
Duplicated DS Request to the tree datasource having the tree view displayed in a sub-tab
1) Go to the [Account Tree] window
2) Select a record in the header and move to the "Element Value" sub-tab
3) Switch to the tree view mode
4) Go back to the header and select another record -> Notice that a double call is done for the tree DS (see attached image)
No tags attached.
blocks defect 0037399 closed caristu Duplicated DS Request to the tree datasource having the tree view displayed in a sub-tab 
Issue History
2017-11-27 18:28caristuTypedefect => backport
2017-11-27 18:28caristuTarget Version => 3.0PR17Q3.2
2017-11-27 19:23hgbotCheckin
2017-11-27 19:23hgbotNote Added: 0100747
2017-11-27 19:23hgbotStatusscheduled => resolved
2017-11-27 19:23hgbotResolutionopen => fixed
2017-11-27 19:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q3.2/rev/33b3ef3b9c50d3d109202b33e560afebfaec8a7d [^]
2017-11-27 19:23caristuReview Assigned To => alostale
2017-12-01 10:07alostaleNote Added: 0100879
2017-12-01 10:07alostaleStatusresolved => closed
2017-12-01 10:07alostaleFixed in Version => 3.0PR17Q3.2

Notes
(0100747)
hgbot   
2017-11-27 19:23   
Repository: erp/backports/3.0PR17Q3.2
Changeset: 33b3ef3b9c50d3d109202b33e560afebfaec8a7d
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Nov 27 19:16:22 2017 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR17Q3.2/rev/33b3ef3b9c50d3d109202b33e560afebfaec8a7d [^]

fixes bug 37400: Duplicated DS calls having the tree view shown in a sub-tab

  Fix for issue 0035545 was intended to force a datasource call when the fetchData does not perform it. This function has a mechanism that avoids DS calls when the grid criteria i not being changed.

  But when the criteria indeed changes two DS request was being fired: the one that we are forcing and the other one fired by the fetchData function. To avoid this problem we are forcing the DS call just when the grid criteria has not changed.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0100879)
alostale   
2017-12-01 10:07   
reviewed + tested