Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0050361 | Retail Modules | Web POS | public | 2022-09-27 23:49 | 2022-09-28 23:25 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | major | Reproducibility | random |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR22Q4 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0050361: Add a check to automatically restart a cashup if current one is already processed |
Description | We have detected that sometimes there is a problem with the state persistence and as a result after completing a cashup, the cashup that was just completed remains in the status of the application. Then, the next time the cashier logs in he will keep using that cashup, and he will end up with an error in the backend after trying to process a cashup that has already been processed.
We are still trying to find the root cause (state not being persisted properly), but in this issue we mean to prevent the duplicated cashup processing by checking if the user is working with a processed cashup and creating and in that case creating a new one |
Steps To Reproduce | We are not able to reproduce the issue unless we:
- Increase the throttle of the state persistence from 100ms to 10s
- Remove the state persistence flush we do after each cashup completion
Doing that, if the user closes or refreshes the application right after completing the cashup, the completion will not be persisted and the next time the user logs in he will keep using the previous version of the cashup |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0050362 | RR22Q3.1 | closed | AugustoMauch | Retail Modules | Add a check to automatically restart a cashup if current one is already processed | related to | defect | 0052052 | | closed | AugustoMauch | POS2 | Reduce the number of times the state is persisted on disk |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-09-27 23:49 | AugustoMauch | New Issue | |
2022-09-27 23:49 | AugustoMauch | Assigned To | => Retail |
2022-09-27 23:49 | AugustoMauch | Triggers an Emergency Pack | => No |
2022-09-27 23:49 | AugustoMauch | Assigned To | Retail => AugustoMauch |
2022-09-27 23:49 | AugustoMauch | Status | new => scheduled |
2022-09-27 23:53 | hgbot | Note Added: 0141427 | |
2022-09-28 18:16 | hgbot | Note Added: 0141457 | |
2022-09-28 23:25 | hgbot | Resolution | open => fixed |
2022-09-28 23:25 | hgbot | Status | scheduled => closed |
2022-09-28 23:25 | hgbot | Note Added: 0141459 | |
2022-09-28 23:25 | hgbot | Fixed in Version | => RR22Q4 |
2022-09-28 23:25 | hgbot | Note Added: 0141460 | |
2022-09-28 23:25 | hgbot | Note Added: 0141461 | |
2022-09-28 23:25 | hgbot | Note Added: 0141462 | |
2023-04-20 16:29 | malsasua | Relationship added | related to 0052052 |
Notes |
|
(0141427)
|
hgbot
|
2022-09-27 23:53
|
|
|
|
(0141457)
|
hgbot
|
2022-09-28 18:16
|
|
|
|
(0141459)
|
hgbot
|
2022-09-28 23:25
|
|
|
|
(0141460)
|
hgbot
|
2022-09-28 23:25
|
|
|
|
(0141461)
|
hgbot
|
2022-09-28 23:25
|
|
|
|
(0141462)
|
hgbot
|
2022-09-28 23:25
|
|
|