Openbravo Issue Tracking System - Retail Modules
View Issue Details
0057738Retail ModulesWeb POSpublic2025-01-23 11:442025-02-14 14:19
AugustoMauch 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR24Q4.1RR24Q4.1 
No
0057738: Locking a terminal and opening the EnyoPOS on a different tab can lead to state persistence problems
In certain circumstances, detailed in the steps to reproduce, it is possible for cashiers to work on POS terminals that will not persist the changes done in its state.

As a consequence, when that terminal is restarted, the state that it will be recovered from the perseistence will be outdated. There are currently some mitigations in place to reduce the impact of this problem, but they do not cover all cases, and they do not work offline.

Note that this steps reproducible the problem in EnyoPOS, but not in ReactPOS

- Open EnyoPOS in one tab
- Work with it, create several tickets. Open the Orders window, check that the tickets that were created were synchronized
- Logout, but keep the tab open
- Open EnyoPOS in other tab (at this momento the persistence of the original tab will be stopped)
- Create a one ticket, and close that tab
- Log in again in the initial tab (the persistence remains stopped).
- Create a few tickets
- Switch to offline mode
- Refresh the browser. The state recovered from the persistence layer will not contain the latest changes.
- Create a few tickets more
- Checke the Orders window, and notice that duplicated document numbersĀ”
No tags attached.
blocks defect 0057737 closed ranjith_qualiantech_com Locking a terminal and opening the EnyoPOS on a different tab can lead to state persistence problems 
Issue History
2025-01-23 12:30marvintmTypedefect => backport
2025-01-23 12:30marvintmTarget Version => RR24Q4.1
2025-02-07 07:22hgbotNote Added: 0175247
2025-02-14 14:19hgbotResolutionopen => fixed
2025-02-14 14:19hgbotStatusscheduled => closed
2025-02-14 14:19hgbotFixed in Version => RR24Q4.1
2025-02-14 14:19hgbotNote Added: 0175664
2025-02-14 14:19hgbotNote Added: 0175665

Notes
(0175247)
hgbot   
2025-02-07 07:22   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/818 [^]
(0175664)
hgbot   
2025-02-14 14:19   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: c1493961b1ccb0b862445947a83ece9f07385ed7
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 14-02-2025 14:10:31
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/c1493961b1ccb0b862445947a83ece9f07385ed7 [^]

Fixed ISSUE-57738: Browser Tab should be validated in login window

---
M web/org.openbravo.mobile.core/source/component/ob-login.js
---
(0175665)
hgbot   
2025-02-14 14:19   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/818 [^]