Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0039589 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2018-11-06 09:57 | 2018-11-06 17:03 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 48be05eab993 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | migueldejuana | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0039589: Cannot access ERP after accessing first ERP, and then WebPOS, on the same browser profile | |||||||
Description | It's no longer possible to access ERP if in the same profile first the ERP is accessed, and then the WebPOS is opened. | |||||||
Steps To Reproduce | - Clear the cache - Open a browser tab. Access the ERP login page, and do login in the ERP with Openbravo user. - Open another browser tab in the same browser profile. Access the WebPOS. - A popup will show, telling that you need to login again. Click ok. - Then come back to the first tab (ERP) and press F5. Notice that it's no longer possible to access the ERP. | |||||||
Proposed Solution | When the WebPOS realises there is a valid session, it attempts to login. However, the session the ERP created is not valid for the WebPOS, as the role is not authorised for the WebPOS application. Therefore, the WebPOS cancels the session, and refreshes the page. At this point the service workers are used to load the application, but one of the requests is redirected to the main openbravo login page, and this redirection is cached. After this, the login page is "cached", but without content, and this is why it's no longer possible to access the ERP. The solution is to prevent caching the redirections, as we will never be interested in caching those. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0107766) hgbot (developer) 2018-11-06 12:51 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 48be05eab99318b26d3249a11c35952218c8bcb2 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Tue Nov 06 10:00:27 2018 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/48be05eab99318b26d3249a11c35952218c8bcb2 [^] Fixed issue 39589. Cannot access ERP after accessing first ERP, and then WebPOS, on the same browser profile Redirected responses will no longer be cached by the service workers. This will prevent the caching of a redirected response to the ERP login page, which did not work correctly, so this in turn prevents being unable to access the ERP login page. --- M web/org.openbravo.mobile.core/source/offline/ob-sources-sw.js --- |
(0107769) migueldejuana (developer) 2018-11-06 17:03 |
Tested and reviewed |
Issue History | |||
Date Modified | Username | Field | Change |
2018-11-06 09:57 | marvintm | New Issue | |
2018-11-06 09:57 | marvintm | Assigned To | => marvintm |
2018-11-06 09:57 | marvintm | Triggers an Emergency Pack | => No |
2018-11-06 09:58 | marvintm | Status | new => scheduled |
2018-11-06 12:03 | marvintm | Proposed Solution updated | |
2018-11-06 12:50 | marvintm | Proposed Solution updated | |
2018-11-06 12:51 | hgbot | Checkin | |
2018-11-06 12:51 | hgbot | Note Added: 0107766 | |
2018-11-06 12:51 | hgbot | Status | scheduled => resolved |
2018-11-06 12:51 | hgbot | Resolution | open => fixed |
2018-11-06 12:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/48be05eab99318b26d3249a11c35952218c8bcb2 [^] |
2018-11-06 17:03 | migueldejuana | Review Assigned To | => migueldejuana |
2018-11-06 17:03 | migueldejuana | Note Added: 0107769 | |
2018-11-06 17:03 | migueldejuana | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |