Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036168Retail ModulesWeb POSpublic2017-05-22 08:382017-06-21 18:26
guillermogil 
migueldejuana 
immediatemajoralways
closedfixed 
5
 
RR17Q2.1RR17Q2.1 
marvintm
No
0036168: Timeout parameter of OB.DS.Process is not working
Timeout parameter of OB.DS.Process is not working, it does 4 more executions and then the timeout raises.
This is generating timeout to not raise and also, for third party implementation this can rely on wrong data.
- Login on WebPOS (on a development environment)
- Put a breakpoint in PaidReceiptsHeaders.java
- Open Receipts popup
- Do a Search

You will see that 5 calls are executed and timeout does not raise in the defined time (15000 by default)
No tags attached.
blocks defect 0036057 closed migueldejuana Timeout parameter of OB.DS.Process is not working 
Issue History
2017-06-02 12:52marvintmTypedefect => backport
2017-06-02 12:52marvintmTarget Version => RR17Q2.1
2017-06-06 11:52hgbotCheckin
2017-06-06 11:52hgbotNote Added: 0097166
2017-06-06 11:52hgbotStatusscheduled => resolved
2017-06-06 11:52hgbotResolutionopen => fixed
2017-06-06 11:52hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/854b5d8dde16593b15673c59e65e13782fb5ccd7 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q2.1/org.openbravo.mobile.core/rev/09f50913967d3188d7883d30b0c6da954c4e356f [^]
2017-06-21 18:26marvintmStatusresolved => closed
2017-06-21 18:26marvintmFixed in Version => RR17Q2.1

Notes
(0097166)
hgbot   
2017-06-06 11:52   
Repository: retail/backports/3.0RR17Q2.1/org.openbravo.mobile.core
Changeset: 09f50913967d3188d7883d30b0c6da954c4e356f
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Jun 06 11:52:16 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR17Q2.1/org.openbravo.mobile.core/rev/09f50913967d3188d7883d30b0c6da954c4e356f [^]

Fixed issue 0036168: Timeout parameter of OB.DS.Process is not working

- Change noRetries:true with maxNumOfRequestRetries:0
- Default and minimum value for maxNumOfRequestRetries is 0
- if maxNumOfRequestRetries is defined in OB.DS.Process overrides preference and default value
- We can define attributes in extraParams in OB.DS.Process and they will set in the ajaxRequest

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