Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037429Openbravo ERPA. Platformpublic2017-11-27 18:232017-12-01 10:07
caristu 
caristu 
immediateminoralways
closedfixed 
5
 
3.0PR17Q43.0PR17Q4 
alostale
Core
Production - QA Approved
2017-03-30
3.0PR17Q3
https://code.openbravo.com/erp/devel/pi/rev/1f63d7f9e0618c52fa8f9b4fae7d1350782d22d9 [^]
No
0037429: 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-12-01 09:44alostaleTypedefect => backport
2017-12-01 09:44alostaleTarget Version => 3.0PR17Q4
2017-12-01 10:01hgbotCheckin
2017-12-01 10:01hgbotNote Added: 0100855
2017-12-01 10:01hgbotStatusscheduled => resolved
2017-12-01 10:01hgbotResolutionopen => fixed
2017-12-01 10:01hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/639a31dffd9c7735ec06c156c836639408282931 [^] => http://code.openbravo.com/erp/backports/3.0PR17Q4/rev/a38e08a436145a1f810a04a18326f0bae5d9bca0 [^]
2017-12-01 10:07alostaleNote Added: 0100875
2017-12-01 10:07alostaleStatusresolved => closed
2017-12-01 10:07alostaleFixed in Version => 3.0PR17Q4

Notes
(0100855)
hgbot   
2017-12-01 10:01   
Repository: erp/backports/3.0PR17Q4
Changeset: a38e08a436145a1f810a04a18326f0bae5d9bca0
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.0PR17Q4/rev/a38e08a436145a1f810a04a18326f0bae5d9bca0 [^]

fixes bug 37429: 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
---
(0100875)
alostale   
2017-12-01 10:07   
reviewed + tested