Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037522Retail ModulesWeb POSpublic2017-12-14 11:142017-12-22 09:52
guilleaer 
guilleaer 
normalmajoralways
closedfixed 
5
 
RR17Q3.2RR17Q3.2 
migueldejuana
RR16Q3
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/diff/cec11c87a546/web/org.openbravo.mobile.core/source/model/ob-terminal-model.js [^]
No
0037522: The callback of request "InitActions" done by Mobile Core is not being executed
initActions function located in ob-terminal-model.js is doing a request to the server to retrieve several data which is needed by mobile applications.

When request finishes data received form the server is stored in the client side to be used later on.

The problem is that the callback function of the request is not being executed.

Using a mobile App which doesn't overwrite the standard initActions function you will see that request callback is not executed. For example the available services are not set

OB.RR.RequestRouter.AvailableService -> null
Don't use Request Router to execute this request.
No tags attached.
blocks defect 0037475RR18Q1 closed guilleaer The callback of request "InitActions" done by Mobile Core is not being executed 
Issue History
2017-12-20 13:21guilleaerTypedefect => backport
2017-12-20 13:21guilleaerTarget VersionRR18Q1 => RR17Q3.3
2017-12-20 13:25hgbotCheckin
2017-12-20 13:25hgbotNote Added: 0101166
2017-12-20 13:25hgbotStatusscheduled => resolved
2017-12-20 13:25hgbotResolutionopen => fixed
2017-12-20 13:25hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/aae5f9c0bc886cbc56359607e0ad892fabb28d61 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q3.2/org.openbravo.mobile.core/rev/4c8c3f82ac6a94d2ff9938ac230ee2d97e41c3b9 [^]
2017-12-20 19:42marvintmTarget VersionRR17Q3.3 => RR17Q3.2
2017-12-22 09:46hgbotCheckin
2017-12-22 09:46hgbotNote Added: 0101200
2017-12-22 09:52migueldejuanaNote Added: 0101203
2017-12-22 09:52migueldejuanaStatusresolved => closed
2017-12-22 09:52migueldejuanaFixed in Version => RR17Q3.2

Notes
(0101166)
hgbot   
2017-12-20 13:25   
Repository: retail/backports/3.0RR17Q3.2/org.openbravo.mobile.core
Changeset: 4c8c3f82ac6a94d2ff9938ac230ee2d97e41c3b9
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Dec 20 13:25:29 2017 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.2/org.openbravo.mobile.core/rev/4c8c3f82ac6a94d2ff9938ac230ee2d97e41c3b9 [^]

Fixed issue 37522 backport of 37475: Don't use request router for init actions request

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0101200)
hgbot   
2017-12-22 09:46   
Repository: retail/backports/3.0RR17Q3.2/org.openbravo.mobile.core
Changeset: fcab5b06afb56f28df40a40f88b5974536c79f81
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Dec 22 09:46:18 2017 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.2/org.openbravo.mobile.core/rev/fcab5b06afb56f28df40a40f88b5974536c79f81 [^]

Related to issue 37522: add params

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0101203)
migueldejuana   
2017-12-22 09:52   
Reviewed