Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034735Retail ModulesWeb POSpublic2016-12-14 17:442017-01-09 11:18
malsasua 
jorge-garcia 
normalmajoralways
closedfixed 
20Community Appliance
 
RR17Q2 
marvintm
No
0034735: 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.
related to defect 0034665 closed marvintm The terminal should be locked until the full/incremental refresh finish 
depends on backport 0034865RR17Q1 closed jorge-garcia incremental refresh is stopped if one masterdata query is very slow 
related to defect 0036263 closed migueldejuana The queries related with a incremental refresh should be interrupted when the timeout for the request is reached 
Issue History
2016-12-14 17:44malsasuaNew Issue
2016-12-14 17:44malsasuaAssigned To => Retail
2016-12-14 17:44malsasuaResolution time => 1483916400
2016-12-14 17:44malsasuaTriggers an Emergency Pack => No
2016-12-14 17:45malsasuaRelationship addedrelated to 0034665
2017-01-03 08:40jorge-garciaStatusnew => scheduled
2017-01-03 08:40jorge-garciaAssigned ToRetail => jorge-garcia
2017-01-04 11:21hgbotCheckin
2017-01-04 11:21hgbotNote Added: 0093160
2017-01-04 11:21hgbotStatusscheduled => resolved
2017-01-04 11:21hgbotResolutionopen => fixed
2017-01-04 11:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/278add3d4bdb049b755035b3a7bb044221de0cb8 [^]
2017-01-09 11:18marvintmStatusresolved => new
2017-01-09 11:18marvintmResolutionfixed => open
2017-01-09 11:18marvintmStatusnew => scheduled
2017-01-09 11:18marvintmStatusscheduled => resolved
2017-01-09 11:18marvintmFixed in Version => RR17Q2
2017-01-09 11:18marvintmResolutionopen => fixed
2017-01-09 11:18marvintmReview Assigned To => marvintm
2017-01-09 11:18marvintmStatusresolved => closed
2017-06-16 11:30egoitzRelationship addedrelated to 0036263

Notes
(0093160)
hgbot   
2017-01-04 11:21   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 278add3d4bdb049b755035b3a7bb044221de0cb8
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jan 03 15:29:46 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/278add3d4bdb049b755035b3a7bb044221de0cb8 [^]

Fixed issue 34735: 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
---