Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037915Retail ModulesWeb POSpublic2018-02-14 17:362018-02-20 13:17
migueldejuana 
migueldejuana 
normaltrivialalways
closedfixed 
5
 
RR18Q2RR18Q2 
marvintm
No
0037915: Make configurable the time window to check connectivity going online
Make configurable the time window to check connectivity going online

- Add the ability to define a preference to fix a time window to check connectivity status. We have to add a setTimeout to wait since transition to online begins till checking time starts.
- Also removed first checkConnectivity status request because if we move to offline is pretty sure that the first request will fail because it happens immediately. We should avoid to fail in almost all cases the first attempt to move to online.
n/a
No tags attached.
depends on backport 0037922RR18Q1 closed migueldejuana Make configurable the time window to check connectivity going online 
Issue History
2018-02-14 17:36migueldejuanaNew Issue
2018-02-14 17:36migueldejuanaAssigned To => migueldejuana
2018-02-14 17:36migueldejuanaTriggers an Emergency Pack => No
2018-02-14 17:37migueldejuanaFile Added: checkingTime.diff
2018-02-15 09:25migueldejuanaFile Deleted: checkingTime.diff
2018-02-15 09:40migueldejuanaStatusnew => scheduled
2018-02-15 09:44hgbotCheckin
2018-02-15 09:44hgbotNote Added: 0102428
2018-02-15 09:44hgbotStatusscheduled => resolved
2018-02-15 09:44hgbotResolutionopen => fixed
2018-02-15 09:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/190fa3cc60dbaeb7f1962e2c676bd6c7ccf9fca3 [^]
2018-02-15 09:46migueldejuanaDescription Updatedbug_revision_view_page.php?rev_id=16693#r16693
2018-02-20 13:17marvintmReview Assigned To => marvintm
2018-02-20 13:17marvintmStatusresolved => closed
2018-02-20 13:17marvintmFixed in Version => RR18Q2

Notes
(0102428)
hgbot   
2018-02-15 09:44   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 190fa3cc60dbaeb7f1962e2c676bd6c7ccf9fca3
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Feb 15 09:44:40 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/190fa3cc60dbaeb7f1962e2c676bd6c7ccf9fca3 [^]

Fixed issue 0037915: Make configurable the time window to check connectivity going online

- Add the ability to define a preference to fix a time window to check connectivity status. We add a setTimeout to wait since transition to online begins till checking time starts.
- We also removed first checkConnectivity status request because if we move to offline is pretty sure that the first request will fail because it happens immediately. Now, we avoid to fail in almost all cases the first attempt to move to online.

---
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---