Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038209Retail ModulesWeb POSpublic2018-03-23 08:232018-03-23 09:45
migueldejuana 
migueldejuana 
normalmajoralways
closedfixed 
5
 
RR18Q1.1RR18Q1.1 
marvintm
No
0038209: If we go to offline and LogCLient is sent we won't go to offline
Since LogCLientLoader request doesn't affect connection status(online/offline) we could get in a continuous online status if LogCLientLoader is the first failing request when going to offline.

- Login in webPos
- Go to offline
- Wait until LogCLientLoader fails
. Open menu option Open Receipts and search
- ERROR! We get "Application server not available" error but still online
. Create and order and sent it.
- ERROR! Synchronizing icon is shown forever and still online and order is in the clien database
ignoreForConnectionStatus: true requests do no affect connection status but the change "online" var and they shouldn't
No tags attached.
blocks defect 0038208 closed migueldejuana If we go to offline and LogCLient is sent we won't go to offline 
Issue History
2018-03-23 09:25marvintmTypedefect => backport
2018-03-23 09:25marvintmTarget Version => RR18Q1.1
2018-03-23 09:35hgbotCheckin
2018-03-23 09:35hgbotNote Added: 0103463
2018-03-23 09:35hgbotStatusscheduled => resolved
2018-03-23 09:35hgbotResolutionopen => fixed
2018-03-23 09:35hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e77ba5b7c6338ca78bcd001b4335adb0ba25bbf5 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q1.1/org.openbravo.mobile.core/rev/e80f57253c146f566c661dc93021304ba7c9d4dc [^]
2018-03-23 09:45marvintmReview Assigned To => marvintm
2018-03-23 09:45marvintmStatusresolved => closed
2018-03-23 09:45marvintmFixed in Version => RR18Q1.1

Notes
(0103463)
hgbot   
2018-03-23 09:35   
Repository: retail/backports/3.0RR18Q1.1/org.openbravo.mobile.core
Changeset: e80f57253c146f566c661dc93021304ba7c9d4dc
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Mar 23 09:35:36 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1.1/org.openbravo.mobile.core/rev/e80f57253c146f566c661dc93021304ba7c9d4dc [^]

Fixed issue 0038209: If we go to offline and LogCLient is sent we won't go to offline

- Change online attribute only in requests which affects connection status. If we put as false online attribute but we do not move to offline, requestrouter won't launch changeOnlineStatus never.

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