Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040789Retail ModulesOffline Modepublic2019-04-30 10:182019-05-09 09:31
plujan 
javierRodriguez 
normalmajorhave not tried
closedfixed 
5
main 
RR19Q2RR19Q2 
marvintm
Packaging and release
main
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/16b6f23b53eb [^]
No
0040789: [19Q2] Offline log out shows an error and does not return to login page
With Tomcat service stopped, it is not possible to log in after logging out. See steps.
1. Use a properly configured server and login using the webPOS
2. Check you are logged in online as expected.
3. In the server, stop tomcat service.
4. In the terminal create a ticket, check you are taken offline as expected.
5. Log out, the login window is not shown and a blank page (with a console error) is shown. See attached image.
No tags attached.
blocks defect 0040710 closed javierRodriguez [19Q2] Offline log out shows an error and does not return to login page 
Issue History
2019-05-06 15:24javierRodriguezTypedefect => backport
2019-05-06 15:24javierRodriguezTarget Version => RR19Q2
2019-05-07 10:45hgbotCheckin
2019-05-07 10:45hgbotNote Added: 0111526
2019-05-07 10:45hgbotStatusscheduled => resolved
2019-05-07 10:45hgbotResolutionopen => fixed
2019-05-07 10:45hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q2/org.openbravo.mobile.core/rev/a31c9636327d999fb5e1c51cadca3e9a1536bbf5 [^]
2019-05-09 09:31marvintmStatusresolved => closed
2019-05-09 09:31marvintmFixed in Version => RR19Q2

Notes
(0111526)
hgbot   
2019-05-07 10:45   
Repository: retail/backports/3.0RR19Q2/org.openbravo.mobile.core
Changeset: a31c9636327d999fb5e1c51cadca3e9a1536bbf5
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Mon May 06 15:54:47 2019 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR19Q2/org.openbravo.mobile.core/rev/a31c9636327d999fb5e1c51cadca3e9a1536bbf5 [^]

Fixed issue 40789: [19Q2] Offline log out shows an error and does not return to login page

Force the promise to be rejected and go to catch statement if the status of manifest request is different than 200

---
M web/org.openbravo.mobile.core/source/offline/ob-fetch-manifest.js
---