Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036571Retail ModulesWeb POSpublic2017-02-01 12:382017-08-02 16:03
marvintm 
marvintm 
normalmajoralways
closedfixed 
5
 
RR17Q1.3 
migueldejuana
No
0036571: Timeout should be forced in remote requests
Currently, when doing a remote request from the mobile.platform using the OB.DS.Process or OB.DS.Request APIs, it's possible to specify a timeout. This timeout is very important, because otherwise the request will wait for up to 2 minutes until finally failing, and this can create very bad user experience in cases in which the server is up, but struggling.

It's unfortunately common, particularly for external modules, to forget to define this timeout. Therefore, we believe it's a good idea to force this timeout to a smaller value than the default value in Enyo, to improve the user experience in this cases.
.
Timeout will be forced if it is not specified, in OB.DS.Request and OB.DS.Process APIs.
No tags attached.
blocks feature request 0035128 closed marvintm Timeout should be forced in remote requests 
Issue History
2017-08-01 14:25marvintmTypefeature request => backport
2017-08-01 14:25marvintmTarget Version => RR17Q1.3
2017-08-01 14:27hgbotCheckin
2017-08-01 14:27hgbotNote Added: 0098310
2017-08-01 14:27hgbotStatusscheduled => resolved
2017-08-01 14:27hgbotResolutionopen => fixed
2017-08-01 14:27hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1ce2b73929db5f7df5d13341c0705aa2a8562749 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q1.3/org.openbravo.mobile.core/rev/50ae2f794de353c187e7fb54c4c8d2b9c0930917 [^]
2017-08-02 16:03migueldejuanaReview Assigned Toguilleaer => migueldejuana
2017-08-02 16:03migueldejuanaNote Added: 0098346
2017-08-02 16:03migueldejuanaStatusresolved => closed

Notes
(0098310)
hgbot   
2017-08-01 14:27   
Repository: retail/backports/3.0RR17Q1.3/org.openbravo.mobile.core
Changeset: 50ae2f794de353c187e7fb54c4c8d2b9c0930917
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Aug 01 14:26:25 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1.3/org.openbravo.mobile.core/rev/50ae2f794de353c187e7fb54c4c8d2b9c0930917 [^]

Fixed issue 36571. Timeout will be forced to 15 sec in case it is not specified, in OB.DS.Process and OB.DS.Request.

---
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
---
(0098346)
migueldejuana   
2017-08-02 16:03   
Tested and reviewed