Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038896Retail ModulesWeb POSpublic2018-06-25 15:552018-07-05 11:09
malsasua 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR18Q2.1RR18Q2.1 
guilleaer
No
0038896: Incremental refresh process is not finishing properly when timeout happens
When incremental refresh process is triggered and timeout happens in one of the models, the process does not finish properly, and Loading window is displayed and never hidden
[BO]
. configure incremental refresh time: 2 minutes

[POS]
. do login
wait 2 minutes -> incremental refresh process is triggered
configure slow network -> timeout happens

"Loading window: reading model XXX" is displayed and never is hidden
No tags attached.
blocks defect 0038830 closed jorge-garcia Incremental refresh process is not finishing properly when timeout happens 
Issue History
2018-07-05 08:30jorge-garciaTypedefect => backport
2018-07-05 08:30jorge-garciaTarget Version => RR18Q2.1
2018-07-05 10:25hgbotCheckin
2018-07-05 10:25hgbotNote Added: 0105621
2018-07-05 10:26hgbotCheckin
2018-07-05 10:26hgbotNote Added: 0105624
2018-07-05 10:26hgbotStatusscheduled => resolved
2018-07-05 10:26hgbotResolutionopen => fixed
2018-07-05 10:26hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3aea696cafbe3d95d6090c8dc0b78f7c0a960b1d [^] => http://code.openbravo.com/retail/backports/3.0RR18Q2.1/org.openbravo.mobile.core/rev/4f3b46be011c37dc1accda7e8e4dab0b5812e92a [^]
2018-07-05 11:09guilleaerReview Assigned Tomarvintm => guilleaer
2018-07-05 11:09guilleaerStatusresolved => closed
2018-07-05 11:09guilleaerFixed in Version => RR18Q2.1

Notes
(0105621)
hgbot   
2018-07-05 10:25   
Repository: retail/backports/3.0RR18Q2.1/org.openbravo.retail.posterminal
Changeset: 20c7333bfa6e33184772c90493ed72d2d5802f1a
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Jul 05 10:04:25 2018 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR18Q2.1/org.openbravo.retail.posterminal/rev/20c7333bfa6e33184772c90493ed72d2d5802f1a [^]

Related to issue 38896: Incremental refresh process is not finishing properly when
timeout happens

Remove trigger related with incremental refresh popup and replace it for a
callback.

---
M web/org.openbravo.retail.posterminal/js/data/windowmodel.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0105624)
hgbot   
2018-07-05 10:26   
Repository: retail/backports/3.0RR18Q2.1/org.openbravo.mobile.core
Changeset: 4f3b46be011c37dc1accda7e8e4dab0b5812e92a
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Jul 05 08:54:10 2018 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR18Q2.1/org.openbravo.mobile.core/rev/4f3b46be011c37dc1accda7e8e4dab0b5812e92a [^]

Fixed issue 38896: Incremental refresh process is not finishing properly when
timeout happens

All trigger from login has been replaced by callbacks to improve asynchronous
calls inside login.

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