Openbravo Issue Tracking System - Retail Modules
View Issue Details
0057737Retail ModulesWeb POSpublic2025-01-23 11:442025-02-03 16:28
AugustoMauch 
ranjith_qualiantech_com 
normalmajorhave not tried
scheduledopen 
5
 
 
No
0057737: 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.
depends on backport 0057738RR24Q4.1 scheduled ranjith_qualiantech_com Locking a terminal and opening the EnyoPOS on a different tab can lead to state persistence problems 
Not all the children of this issue are yet resolved or closed.
Issue History
2025-01-23 11:44AugustoMauchNew Issue
2025-01-23 11:44AugustoMauchAssigned To => Retail
2025-01-23 11:44AugustoMauchTriggers an Emergency Pack => No
2025-01-23 12:00AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=29103#r29103
2025-01-23 12:00AugustoMauchSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29105#r29105
2025-01-23 12:00AugustoMauchStatusnew => acknowledged
2025-01-23 12:20AugustoMauchSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29106#r29106
2025-01-23 12:21aaroncaleroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29107#r29107
2025-01-23 12:30marvintmAssigned ToRetail => ranjith_qualiantech_com
2025-01-23 12:30marvintmStatusacknowledged => scheduled
2025-01-27 13:04hgbotNote Added: 0174751

Notes
(0174751)
hgbot   
2025-01-27 13:04   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/809 [^]