Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037521Retail ModulesWeb POSpublic2017-12-14 11:142017-12-22 12:44
guilleaer 
guilleaer 
normalmajoralways
closedfixed 
5
 
RR17Q4RR17Q4 
marvintm
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
0037521: 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 => RR17Q4.2
2017-12-20 13:26hgbotCheckin
2017-12-20 13:26hgbotNote Added: 0101167
2017-12-20 13:26hgbotStatusscheduled => resolved
2017-12-20 13:26hgbotResolutionopen => fixed
2017-12-20 13:26hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/aae5f9c0bc886cbc56359607e0ad892fabb28d61 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q4/org.openbravo.mobile.core/rev/adaaf564d1ad59c6d1bc8754c423e1393323cb18 [^]
2017-12-20 18:26marvintmTarget VersionRR17Q4.2 => RR17Q4
2017-12-22 09:46hgbotCheckin
2017-12-22 09:46hgbotNote Added: 0101201
2017-12-22 12:44marvintmReview Assigned Tomigueldejuana => marvintm
2017-12-22 12:44marvintmStatusresolved => closed
2017-12-22 12:44marvintmFixed in Version => RR17Q4

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

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

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

Related to issue 37521: add params

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---