Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036169Retail ModulesWeb POSpublic2017-05-22 08:382017-06-19 12:54
guillermogil 
migueldejuana 
immediatemajoralways
closedfixed 
5
 
RR17Q1.2RR17Q1.2 
marvintm
No
0036169: 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 => RR17Q1.4
2017-06-02 12:52marvintmTarget VersionRR17Q1.4 => RR17Q1.2
2017-06-06 11:50hgbotCheckin
2017-06-06 11:50hgbotNote Added: 0097165
2017-06-06 11:50hgbotStatusscheduled => resolved
2017-06-06 11:50hgbotResolutionopen => fixed
2017-06-06 11:50hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/854b5d8dde16593b15673c59e65e13782fb5ccd7 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q1.2/org.openbravo.mobile.core/rev/306a2f0161fdd88d7242313a77520f47df733ffb [^]
2017-06-19 12:53marvintmStatusresolved => closed
2017-06-19 12:53marvintmFixed in Version => RR17Q1.1
2017-06-19 12:54marvintmFixed in VersionRR17Q1.1 => RR17Q1.2

Notes
(0097165)
hgbot   
2017-06-06 11:50   
Repository: retail/backports/3.0RR17Q1.2/org.openbravo.mobile.core
Changeset: 306a2f0161fdd88d7242313a77520f47df733ffb
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Jun 06 11:49:58 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1.2/org.openbravo.mobile.core/rev/306a2f0161fdd88d7242313a77520f47df733ffb [^]

Fixed issue 0036169: 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
---