Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033595Retail ModulesWeb POSpublic2016-08-02 11:332016-08-16 10:02
mtaal 
Sandrahuguet 
normalminorhave not tried
closedfixed 
5
 
RR16Q4RR16Q4 
mtaal
No
0033595: Duplicate http request when clicking search button in webpos in case of remote data
In case of setting the remote data preference to Y a separate request is done to load the characteristics in the webpos when clicking the search button.

It shows that the request is done twice.
Install webpos
Set remote data preference for products to Y
Login to webpos
Open chrome network console
Click search button
Performance
Issue History
2016-08-02 11:33mtaalNew Issue
2016-08-02 11:33mtaalAssigned To => Sandrahuguet
2016-08-02 11:33mtaalTriggers an Emergency Pack => No
2016-08-02 11:39SandrahuguetTag Attached: Performance
2016-08-02 11:59shuehnerIssue Monitored: shuehner
2016-08-08 09:36SandrahuguetStatusnew => scheduled
2016-08-09 08:36hgbotCheckin
2016-08-09 08:36hgbotNote Added: 0088912
2016-08-09 08:36hgbotStatusscheduled => resolved
2016-08-09 08:36hgbotResolutionopen => fixed
2016-08-09 08:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/052f0d3e3b18fae0d726e3bf9dc1cbaaed2b5010 [^]
2016-08-09 08:37SandrahuguetReview Assigned To => migueldejuana
2016-08-10 09:52mtaalReview Assigned Tomigueldejuana => mtaal
2016-08-11 14:26SandrahuguetStatusresolved => new
2016-08-11 14:26SandrahuguetResolutionfixed => open
2016-08-12 09:02SandrahuguetNote Added: 0089073
2016-08-12 09:03hgbotCheckin
2016-08-12 09:03hgbotNote Added: 0089074
2016-08-12 09:03hgbotStatusnew => resolved
2016-08-12 09:03hgbotResolutionopen => fixed
2016-08-12 09:03hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/052f0d3e3b18fae0d726e3bf9dc1cbaaed2b5010 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3f6695f67e253c71d6601ab1ffb98d49fac30a39 [^]
2016-08-16 10:02mtaalNote Added: 0089121
2016-08-16 10:02mtaalNote Added: 0089122
2016-08-16 10:02mtaalStatusresolved => closed
2016-08-16 10:02mtaalFixed in Version => RR16Q4

Notes
(0088912)
hgbot   
2016-08-09 08:36   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 052f0d3e3b18fae0d726e3bf9dc1cbaaed2b5010
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Mon Aug 08 09:35:26 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/052f0d3e3b18fae0d726e3bf9dc1cbaaed2b5010 [^]

Fixed bug 33595 Duplicate request when clicking search button in remote mode

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---
(0089073)
Sandrahuguet   
2016-08-12 09:02   
reopened, wrong fix
(0089074)
hgbot   
2016-08-12 09:03   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3f6695f67e253c71d6601ab1ffb98d49fac30a39
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Fri Aug 12 09:02:53 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3f6695f67e253c71d6601ab1ffb98d49fac30a39 [^]

Fixed bug 33595 Duplicate request when clicking search button in remote mode

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---
(0089121)
mtaal   
2016-08-16 10:02   
- there is 2 calls for characteristics query because is called in clearAction and in loadcategories action
- it was tested and in loadcategories action we can skip the call because clear action is called before loadcategories
- in the first commit I skip in clear action and it is wrong because when you tap on 'X' button (clear search) the characteristic call is not made
- this was repaired in second commit
(0089122)
mtaal   
2016-08-16 10:02   
Reviewed and tested