Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037922Retail ModulesWeb POSpublic2018-02-14 17:362018-02-20 13:17
migueldejuana 
migueldejuana 
normaltrivialalways
closedfixed 
5
 
RR18Q1RR18Q1 
marvintm
No
0037922: Make configurable the time window to check connectivity going online
Make configurable the time window to check connectivity going online
n/a
No tags attached.
blocks design defect 0037915RR18Q2 closed migueldejuana Make configurable the time window to check connectivity going online 
Issue History
2018-02-15 09:40migueldejuanaTypedesign defect => backport
2018-02-15 09:40migueldejuanaTarget VersionRR18Q2 => RR18Q1
2018-02-15 09:48hgbotCheckin
2018-02-15 09:48hgbotNote Added: 0102429
2018-02-15 09:48hgbotStatusscheduled => resolved
2018-02-15 09:48hgbotResolutionopen => fixed
2018-02-15 09:48hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.mobile.core/rev/4e275b7a2101c7f27cc12d4a811b84adc7f8bca7 [^]
2018-02-20 13:17marvintmReview Assigned To => marvintm
2018-02-20 13:17marvintmStatusresolved => closed
2018-02-20 13:17marvintmFixed in Version => RR18Q1

Notes
(0102429)
hgbot   
2018-02-15 09:48   
Repository: retail/backports/3.0RR18Q1/org.openbravo.mobile.core
Changeset: 4e275b7a2101c7f27cc12d4a811b84adc7f8bca7
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Feb 15 09:48:41 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.mobile.core/rev/4e275b7a2101c7f27cc12d4a811b84adc7f8bca7 [^]

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