Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0052468 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | have not tried | 2023-05-17 12:54 | 2023-05-19 13:25 | |||
Reporter | cberner | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 23Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
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 | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0052468: Session timeout dialog bypass pos2 blocked application | |||||||
Description | When 2 pos2 are open in different tabs/windows, one of them is marked as blocked and we shouldn't be able to use it until it is refreshed. This can be bypassed by the session timeout dialog, which appears after the set period of time for the session to expire and allows us to login again and work with an incorrect state. | |||||||
Steps To Reproduce | 1. Setup a small session timeout by going to backoffice -> Preferences. Add a new record with property Web POS Session Timeout of 3 mins for example, and mark it as selected and visible to all users. 2. Login WebPOS 3. Open in another tab the same WebPOS and complete a ticket in this one 4. Go back to the other tab and wait for session timeout to happen, then login again 5. After logging in, a duplicate ticket error appears as part of the console and terminal log, this shows us that we're using the incorrect state. | |||||||
Proposed Solution | Don't allow dialogUIHandler dialogs to appear on a blocked terminal. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0149875) hgbot (developer) 2023-05-17 12:59 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/520 [^] |
(0149876) hgbot (developer) 2023-05-17 13:01 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1106 [^] |
(0149976) hgbot (developer) 2023-05-19 13:25 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1106 [^] |
(0149977) hgbot (developer) 2023-05-19 13:25 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^] Changeset: 29deca4e2650b89d1617411caf372f4cd6d6c213 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 19-05-2023 11:25:15 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/29deca4e2650b89d1617411caf372f4cd6d6c213 [^] Fixes ISSUE-52468: Session timeout dialog bypasses the terminal block when two pos terminals are open --- M web-jspack/org.openbravo.core2/src/core/user-interface/BrowserTab.js M web-jspack/org.openbravo.core2/src/core/user-interface/View.js --- |
(0149978) hgbot (developer) 2023-05-19 13:25 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: 56fdb1c41ed96b4e1e408e4dd5bbbce533a407df Author: Cristian Berner <cristian.berner@openbravo.com> Date: 19-05-2023 11:25:27 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/56fdb1c41ed96b4e1e408e4dd5bbbce533a407df [^] Related to ISSUE-52468: Session timeout on a blocked terminal allows bypassing the block --- M web/org.openbravo.mobile.core/app/integration/remote-server/BackendServer.js M web/org.openbravo.mobile.core/app/view/DialogUIHandler.js M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js --- |
(0149979) hgbot (developer) 2023-05-19 13:25 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/520 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2023-05-17 12:54 | cberner | New Issue | |
2023-05-17 12:54 | cberner | Assigned To | => Retail |
2023-05-17 12:54 | cberner | Triggers an Emergency Pack | => No |
2023-05-17 12:54 | cberner | Assigned To | Retail => cberner |
2023-05-17 12:59 | hgbot | Note Added: 0149875 | |
2023-05-17 13:01 | hgbot | Note Added: 0149876 | |
2023-05-18 11:56 | rafaroda | Relationship added | related to 0051016 |
2023-05-18 15:05 | ngarcia | Issue Monitored: ngarcia | |
2023-05-19 12:59 | AugustoMauch | Status | new => scheduled |
2023-05-19 13:25 | hgbot | Resolution | open => fixed |
2023-05-19 13:25 | hgbot | Status | scheduled => closed |
2023-05-19 13:25 | hgbot | Note Added: 0149976 | |
2023-05-19 13:25 | hgbot | Fixed in Version | => 23Q3 |
2023-05-19 13:25 | hgbot | Note Added: 0149977 | |
2023-05-19 13:25 | hgbot | Note Added: 0149978 | |
2023-05-19 13:25 | hgbot | Note Added: 0149979 |
Copyright © 2000 - 2009 MantisBT Group |