Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035128Retail ModulesWeb POSpublic2017-02-01 12:382017-08-01 14:25
marvintm 
marvintm 
normalmajoralways
closedfixed 
5
 
RR17Q2 
guilleaer
No
0035128: 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.
depends on backport 0036571RR17Q1.3 closed marvintm Timeout should be forced in remote requests 
Issue History
2017-02-01 12:38marvintmNew Issue
2017-02-01 12:38marvintmAssigned To => marvintm
2017-02-01 12:38marvintmTriggers an Emergency Pack => No
2017-02-02 08:59hgbotCheckin
2017-02-02 08:59hgbotNote Added: 0094005
2017-02-02 08:59hgbotStatusnew => resolved
2017-02-02 08:59hgbotResolutionopen => fixed
2017-02-02 08:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1ce2b73929db5f7df5d13341c0705aa2a8562749 [^]
2017-02-07 17:39guilleaerReview Assigned To => guilleaer
2017-02-07 17:39guilleaerStatusresolved => closed
2017-02-07 17:39guilleaerFixed in Version => RR17Q2
2017-08-01 14:24marvintmStatusclosed => new
2017-08-01 14:24marvintmResolutionfixed => open
2017-08-01 14:24marvintmFixed in VersionRR17Q2 =>
2017-08-01 14:25marvintmStatusnew => scheduled
2017-08-01 14:25marvintmStatusscheduled => resolved
2017-08-01 14:25marvintmFixed in Version => RR17Q2
2017-08-01 14:25marvintmResolutionopen => fixed
2017-08-01 14:25marvintmStatusresolved => closed

Notes
(0094005)
hgbot   
2017-02-02 08:59   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1ce2b73929db5f7df5d13341c0705aa2a8562749
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Feb 01 12:39:27 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1ce2b73929db5f7df5d13341c0705aa2a8562749 [^]

Fixed issue 35128. 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
---