Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041122Retail ModulesWeb POSpublic2019-06-19 11:062019-06-27 17:18
salvador_campanella 
migueldejuana 
normalmajoralways
closedfixed 
5
 
RR19Q3 
guilleaer
No
0041122: the login in offline mode fails when the tomcat is retarted and the postgres is down
the login in offline mode fails when the tomcat is retarted and the postgres is down
- Start Postgres
- Start Tomcat
- Login on Web POS
- Make a Sales Order

- Stop Tomcat
- Stop Postgres
- Start Tomcat
- Make a Sales Order in web pos
- The WebPOS go Offline
- End the sesion

exist two ways to see the error:
----------------------------------
A - In the login page, refresh the window [F5]
or
B - In the login page, insert a bad password and try to login

The offline mode shows a error HTTP 404
No tags attached.
depends on backport 0041144RR19Q2.1 closed migueldejuana the login in offline mode fails when the tomcat is retarted and the postgres is down 
depends on backport 0041145RR19Q1.2 closed migueldejuana the login in offline mode fails when the tomcat is retarted and the postgres is down 
related to defect 0040710 closed javierRodriguez [19Q2] Offline log out shows an error and does not return to login page 
Issue History
2019-06-19 11:06salvador_campanellaNew Issue
2019-06-19 11:06salvador_campanellaAssigned To => Retail
2019-06-19 11:06salvador_campanellaResolution time => 1561500000
2019-06-19 11:06salvador_campanellaTriggers an Emergency Pack => No
2019-06-21 09:04migueldejuanaAssigned ToRetail => migueldejuana
2019-06-21 09:08migueldejuanaStatusnew => scheduled
2019-06-24 07:56hgbotCheckin
2019-06-24 07:56hgbotNote Added: 0112954
2019-06-24 07:56hgbotStatusscheduled => resolved
2019-06-24 07:56hgbotResolutionopen => fixed
2019-06-24 07:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a38605f1c48fe1ecabe3efd40d79ab2c3409f411 [^]
2019-06-24 08:02migueldejuanaNote Added: 0112956
2019-06-24 08:58hgbotCheckin
2019-06-24 08:58hgbotNote Added: 0112962
2019-06-24 08:58hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a38605f1c48fe1ecabe3efd40d79ab2c3409f411 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1e151311e561cb8ce9421a95c185768a9792686b [^]
2019-06-27 17:18guilleaerReview Assigned To => guilleaer
2019-06-27 17:18guilleaerStatusresolved => closed
2019-06-27 17:18guilleaerFixed in Version => RR19Q3
2019-07-16 16:28ngarciaRelationship addedrelated to 0040710

Notes
(0112954)
hgbot   
2019-06-24 07:56   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a38605f1c48fe1ecabe3efd40d79ab2c3409f411
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Jun 24 07:56:42 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a38605f1c48fe1ecabe3efd40d79ab2c3409f411 [^]

Fixed issue 0041122: the login in offline mode fails when the tomcat is retarted and the postgres is down

- If database is down and tomcat started, we get 404 response and we are not stopping properly the flow, we do a reject, but this is not stopping the flow

---
M web/org.openbravo.mobile.core/source/offline/ob-fetch-manifest.js
---
(0112956)
migueldejuana   
2019-06-24 08:02   
It is happening since 18Q3 where Service Workers was introduced.
(0112962)
hgbot   
2019-06-24 08:58   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1e151311e561cb8ce9421a95c185768a9792686b
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Jun 24 08:58:05 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1e151311e561cb8ce9421a95c185768a9792686b [^]

Fixed issue 0041122: the login in offline mode fails when the tomcat is retarted and the postgres is down

- JSLint

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