Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041144Retail ModulesWeb POSpublic2019-06-19 11:062019-07-17 16:15
salvador_campanella 
migueldejuana 
normalmajoralways
closedfixed 
5
 
RR19Q2.1RR19Q2.1 
guilleaer
No
0041144: 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.
blocks defect 0041122 closed migueldejuana the login in offline mode fails when the tomcat is retarted and the postgres is down 
Issue History
2019-06-21 09:08migueldejuanaTypedefect => backport
2019-06-21 09:08migueldejuanaTarget Version => RR19Q2.1
2019-07-15 14:01hgbotCheckin
2019-07-15 14:01hgbotNote Added: 0113371
2019-07-15 14:01hgbotStatusscheduled => resolved
2019-07-15 14:01hgbotResolutionopen => fixed
2019-07-15 14:01hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q2.1/org.openbravo.mobile.core/rev/4e89993d7948b56e2ddbb919063c1006a00efba7 [^]
2019-07-15 14:01hgbotCheckin
2019-07-15 14:01hgbotNote Added: 0113372
2019-07-15 14:01hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR19Q2.1/org.openbravo.mobile.core/rev/4e89993d7948b56e2ddbb919063c1006a00efba7 [^] => http://code.openbravo.com/retail/backports/3.0RR19Q2.1/org.openbravo.mobile.core/rev/93674ba4507ef808a0df9a5ec9362f5a3fdcdded [^]
2019-07-17 16:15guilleaerReview Assigned To => guilleaer
2019-07-17 16:15guilleaerStatusresolved => closed
2019-07-17 16:15guilleaerFixed in Version => RR19Q2.1

Notes
(0113371)
hgbot   
2019-07-15 14:01   
Repository: retail/backports/3.0RR19Q2.1/org.openbravo.mobile.core
Changeset: 4e89993d7948b56e2ddbb919063c1006a00efba7
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Jun 24 07:56:42 2019 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR19Q2.1/org.openbravo.mobile.core/rev/4e89993d7948b56e2ddbb919063c1006a00efba7 [^]

Fixed issue 41144: 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
---
(0113372)
hgbot   
2019-07-15 14:01   
Repository: retail/backports/3.0RR19Q2.1/org.openbravo.mobile.core
Changeset: 93674ba4507ef808a0df9a5ec9362f5a3fdcdded
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Jun 24 08:58:05 2019 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR19Q2.1/org.openbravo.mobile.core/rev/93674ba4507ef808a0df9a5ec9362f5a3fdcdded [^]

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