Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034865Retail ModulesWeb POSpublic2016-12-14 17:442017-02-02 11:56
malsasua 
jorge-garcia 
normalmajoralways
closedfixed 
20Community Appliance
 
RR17Q1RR17Q1 
guilleaer
No
0034865: incremental refresh is stopped if one masterdata query is very slow
during incremental refresh process, if one masterdata query is very slow, then the terminal is locked while the request does not finish
. to simulate one slow query, we are going to add one breakpoint in this line code:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/8435373ee62d/src/org/openbravo/retail/posterminal/master/Product.java#l310 [^]

. execute incremental refresh process

the terminal is locked while the execution is stopped in the breakpoint
No tags attached.
blocks defect 0034735 closed jorge-garcia incremental refresh is stopped if one masterdata query is very slow 
Issue History
2017-01-09 11:18marvintmTypedefect => backport
2017-01-09 11:18marvintmTarget Version => RR17Q1
2017-01-17 11:32hgbotCheckin
2017-01-17 11:32hgbotNote Added: 0093627
2017-01-17 11:32hgbotStatusscheduled => resolved
2017-01-17 11:32hgbotResolutionopen => fixed
2017-01-17 11:32hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/278add3d4bdb049b755035b3a7bb044221de0cb8 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.mobile.core/rev/3a75493e68548fe64f89c1fbb07ee7727852d11c [^]
2017-02-02 11:56guilleaerReview Assigned To => guilleaer
2017-02-02 11:56guilleaerStatusresolved => closed
2017-02-02 11:56guilleaerFixed in Version => RR17Q1

Notes
(0093627)
hgbot   
2017-01-17 11:32   
Repository: retail/backports/3.0RR17Q1/org.openbravo.mobile.core
Changeset: 3a75493e68548fe64f89c1fbb07ee7727852d11c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jan 17 11:14:23 2017 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.mobile.core/rev/3a75493e68548fe64f89c1fbb07ee7727852d11c [^]

Fixed issue 34865: incremental refresh is stopped if one masterdata query
is very slow

Added a timeout to the masterdata requests. This timeout has been set to
five seconds if we are doing an incremental refresh. If it’s the full refresh,
there is no time limit to this request.

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
---