Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038894Retail ModulesWeb POSpublic2018-05-28 11:352018-07-05 11:11
0038894: POS is ready but master refresh process is running yet
Sometimes, the POS is ready to do sales, but the master refresh process continue executing in background.
. slow network
. execute master refresh
No tags attached.
blocks defect 0038640 closed jorge-garcia POS is ready but master refresh process is running yet 
Issue History
2018-07-05 08:27jorge-garciaTypedefect => backport
2018-07-05 08:27jorge-garciaTarget Version => RR18Q2.1
2018-07-05 10:25hgbotCheckin
2018-07-05 10:25hgbotNote Added: 0105620
2018-07-05 10:26hgbotCheckin
2018-07-05 10:26hgbotNote Added: 0105622
2018-07-05 10:26hgbotStatusscheduled => resolved
2018-07-05 10:26hgbotResolutionopen => fixed
2018-07-05 10:26hgbotFixed in SCM revision [^] => [^]
2018-07-05 11:11guilleaerReview Assigned Tomarvintm => guilleaer
2018-07-05 11:11guilleaerStatusresolved => closed
2018-07-05 11:11guilleaerFixed in Version => RR18Q2.1

2018-07-05 10:25   
Repository: retail/backports/3.0RR18Q2.1/org.openbravo.retail.posterminal
Changeset: cef0c07afc0f75333a3ef6cb0872132623e237e1
Author: Jorge Garcia <jorge.garcia <at>>
Date: Thu Jul 05 08:45:57 2018 +0200
URL: [^]

Related to issue 38894: POS is ready but master refresh process is running yet

If manifest fails, OK button callback should launch showLoading window.

Added flag terminalCorrectlyLoadedFromBackend to terminal object to indicate
if terminal request has succedeed.

M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
2018-07-05 10:26   
Repository: retail/backports/3.0RR18Q2.1/
Changeset: c67e30ce3a8cbe3bd38984018e06d72370b8c7c8
Author: Jorge Garcia <jorge.garcia <at>>
Date: Thu Jul 05 08:50:38 2018 +0200
URL: [^]

Fixed issue 38894: POS is ready but master refresh process is running yet

The solution is to serialize the login process to wait until all datasources
are loaded in order to show the main window.

LoadRegistered windows now supports a callback.

The datasource array is a list of all datasources for the registered windows
instead of been a array for each windows defined.

Added callback if incremental refresh fail to render main window.

M web/
M web/