Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040312 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | always | 2019-02-19 15:15 | 2019-03-05 10:44 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR18Q4.3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 0b40ad8caaa5 | ||||
Projection | none | ETA | none | Target Version | RR18Q4.3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | guilleaer | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040312: WebPOS should go to offline if server responds 404 | |||||||
Description | Currently if the server responds with a 401 with a request directed to the main mobile web service, the WebPOS automatically switches to offline mode. However, the same thing doesn't happen when the response is 404 instead. This should normally not happen, but in some unlikely cases like the following issue: https://issues.openbravo.com/view.php?id=40211 [^] It might happen that a 404 response is generated. In those cases it is clear that the server is misbehaving, and that the proper thing to do is to switch to offline mode. | |||||||
Steps To Reproduce | Generate a 404 response from the main mobile web server, and verify that the WebPOS doesn't properly switch to offline. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0110210) hgbot (developer) 2019-03-04 20:34 |
Repository: retail/backports/3.0RR18Q4.3/org.openbravo.mobile.core Changeset: 74303f0561c4aaefe9c5660455d14239d4bb43cd Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Mon Mar 04 20:33:52 2019 +0100 URL: http://code.openbravo.com/retail/backports/3.0RR18Q4.3/org.openbravo.mobile.core/rev/74303f0561c4aaefe9c5660455d14239d4bb43cd [^] Fixed issue 0040312: WebPOS should go to offline if server responds 404 - Do not mark datasourceLoadFailed as true if we get 404 to be able to do login offline - Do not mark datasourceLoadFailed as true if we get 500 to be able to do login offline --- M web/org.openbravo.mobile.core/source/data/ob-datasource.js --- |
(0110211) hgbot (developer) 2019-03-04 20:34 |
Repository: retail/backports/3.0RR18Q4.3/org.openbravo.retail.posterminal Changeset: 0b40ad8caaa57e9d9a88d79053186a6d659b4aa2 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Mon Mar 04 20:34:37 2019 +0100 URL: http://code.openbravo.com/retail/backports/3.0RR18Q4.3/org.openbravo.retail.posterminal/rev/0b40ad8caaa57e9d9a88d79053186a6d659b4aa2 [^] Fixed issue 0040312: WebPOS should go to offline if server responds 404 - Do not mark datasourceLoadFailed as true if we get 500 to be able to do login offline --- M web/org.openbravo.retail.posterminal/js/login/model/login-model.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-03-04 20:15 | migueldejuana | Type | defect => backport |
2019-03-04 20:15 | migueldejuana | Target Version | => RR18Q4.3 |
2019-03-04 20:34 | hgbot | Checkin | |
2019-03-04 20:34 | hgbot | Note Added: 0110210 | |
2019-03-04 20:34 | hgbot | Status | scheduled => resolved |
2019-03-04 20:34 | hgbot | Resolution | open => fixed |
2019-03-04 20:34 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ea902aa4d98f5abcfe9bbfccc828681c1627e5c4 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q4.3/org.openbravo.mobile.core/rev/74303f0561c4aaefe9c5660455d14239d4bb43cd [^] |
2019-03-04 20:34 | hgbot | Checkin | |
2019-03-04 20:34 | hgbot | Note Added: 0110211 | |
2019-03-04 20:34 | hgbot | Fixed in SCM revision | http://code.openbravo.com/retail/backports/3.0RR18Q4.3/org.openbravo.mobile.core/rev/74303f0561c4aaefe9c5660455d14239d4bb43cd [^] => http://code.openbravo.com/retail/backports/3.0RR18Q4.3/org.openbravo.retail.posterminal/rev/0b40ad8caaa57e9d9a88d79053186a6d659b4aa2 [^] |
2019-03-05 10:44 | guilleaer | Review Assigned To | => guilleaer |
2019-03-05 10:44 | guilleaer | Status | resolved => closed |
2019-03-05 10:44 | guilleaer | Fixed in Version | => RR18Q4.3 |
Copyright © 2000 - 2009 MantisBT Group |