Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031882Retail ModulesWeb POSpublic2016-01-14 10:032016-02-01 10:46
guillermogil 
migueldejuana 
immediatemajoralways
closedfixed 
30Professional Appliance
 
RR16Q2 
mtaal
Production - QA Approved
No
0031882: [HGVOL] Timeout is not working on OB.DS.Requests
Timeout is not working on OB.DS.Requests
If you set a timeout on a request of 10 seconds you will see an offline message ("The connection was lost. You can continue working in offline mode. Transactions made in offline mode will be synchronized when the connection is restored.") when 10 seconds have passed and 10 seconds later it returns the callback.

It should just use the timeout once.

It seems to be caused be the HGVOL merge with the routing process
On a development environment go to a OB.DS.Request with a timeout.
Put a breackpont on the server side and wait.
You will see the offline message and the the callback error.
No tags attached.
Issue History
2016-01-14 10:03guillermogilNew Issue
2016-01-14 10:03guillermogilAssigned To => Retail
2016-01-14 10:03guillermogilResolution time => 1452898800
2016-01-14 10:03guillermogilTriggers an Emergency Pack => No
2016-01-14 10:52OrekariaStatusnew => acknowledged
2016-01-14 11:26guillermogilRegression level => Production - QA Approved
2016-01-14 11:26guillermogilPriorityurgent => immediate
2016-01-14 11:49OrekariaSummaryTimeout is not working on OB.DS.Requests => [HGVOL] Timeout is not working on OB.DS.Requests
2016-01-14 11:59guillermogilDescription Updatedbug_revision_view_page.php?rev_id=10631#r10631
2016-01-14 16:46migueldejuanaAssigned ToRetail => migueldejuana
2016-01-21 22:45hgbotCheckin
2016-01-21 22:45hgbotNote Added: 0083514
2016-01-21 22:45hgbotStatusacknowledged => resolved
2016-01-21 22:45hgbotResolutionopen => fixed
2016-01-21 22:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8fc916b0d15d5d01169d9f47acb00d0f56945ba8 [^]
2016-01-29 11:59mtaalReview Assigned To => mtaal
2016-02-01 10:46mtaalNote Added: 0083773
2016-02-01 10:46mtaalStatusresolved => closed
2016-02-01 10:46mtaalFixed in Version => RR16Q2

Notes
(0083514)
hgbot   
2016-01-21 22:45   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8fc916b0d15d5d01169d9f47acb00d0f56945ba8
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Jan 20 11:55:58 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8fc916b0d15d5d01169d9f47acb00d0f56945ba8 [^]

Fixed issue 0031882: [HGVOL] Timeout is not working on OB.DS.Requests

- If origFail is defined and we have just one server, means that we already did the request, so we don't do it again

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0083773)
mtaal   
2016-02-01 10:46   
Discussed, reviewed, tested