Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037475Retail ModulesWeb POSpublic2017-12-14 11:142017-12-22 12:44
guilleaer 
guilleaer 
normalmajoralways
closedfixed 
5
 
RR18Q1RR18Q1 
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
0037475: 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.
depends on backport 0037521RR17Q4 closed guilleaer The callback of request "InitActions" done by Mobile Core is not being executed 
depends on backport 0037522RR17Q3.2 closed guilleaer The callback of request "InitActions" done by Mobile Core is not being executed 
diff 37475.diff (776) 2017-12-14 11:34
https://issues.openbravo.com/file_download.php?file_id=11366&type=bug
Issue History
2017-12-14 11:14guilleaerNew Issue
2017-12-14 11:14guilleaerAssigned To => guilleaer
2017-12-14 11:14guilleaerTriggers an Emergency Pack => No
2017-12-14 11:34guilleaerFile Added: 37475.diff
2017-12-14 11:34guilleaerStatusnew => scheduled
2017-12-14 11:35guilleaerReview Assigned To => migueldejuana
2017-12-15 09:07hgbotCheckin
2017-12-15 09:07hgbotNote Added: 0101050
2017-12-15 09:07hgbotStatusscheduled => resolved
2017-12-15 09:07hgbotResolutionopen => fixed
2017-12-15 09:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/aae5f9c0bc886cbc56359607e0ad892fabb28d61 [^]
2017-12-20 13:15guilleaerStatusresolved => new
2017-12-20 13:15guilleaerResolutionfixed => open
2017-12-20 13:21guilleaerRegression introduced in release => RR16Q3
2017-12-20 13:21guilleaerRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/diff/cec11c87a546/web/org.openbravo.mobile.core/source/model/ob-terminal-model.js [^]
2017-12-20 13:21guilleaerStatusnew => scheduled
2017-12-20 13:21guilleaerStatusscheduled => resolved
2017-12-20 13:21guilleaerFixed in Version => RR18Q1
2017-12-20 13:21guilleaerResolutionopen => fixed
2017-12-22 12:44marvintmReview Assigned Tomigueldejuana => marvintm
2017-12-22 12:44marvintmStatusresolved => closed

Notes
(0101050)
hgbot   
2017-12-15 09:07   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: aae5f9c0bc886cbc56359607e0ad892fabb28d61
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Dec 14 11:32:22 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/aae5f9c0bc886cbc56359607e0ad892fabb28d61 [^]

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

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