Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0056982 | POS2 | POS | public | 2024-09-26 12:53 | 2024-11-05 15:09 |
|
Reporter | malsasua | |
Assigned To | Rajesh_18 | |
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 24Q3.3 | Fixed in Version | | |
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 | 0056982: EWI caused by concurrence with Open Session and Cash Management events |
Description | When login is done, and count differences are set during Initial Count, two messages are created: Open Session and Cash Management Movement
Sometimes, the timestamp for the two messages is exactly the same milisecond
The two messages generate two different import entries. It could cause the two messages are processed at the same time by two different Import Entry threads
In this case, one ewi is raised:
ERROR: duplicate key value violates unique constraint "obpos_appcash_pk"
|
Steps To Reproduce | n/a |
Proposed Solution | in OpenSession message, include the Cash Differences info, and create one unique message and then, one unique Data Import Entry |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0056555 | | closed | Rajesh_18 | EWI caused by concurrence with Open Session and Cash Management events |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2024-11-05 12:38 | marvintm | Type | defect => backport |
2024-11-05 12:38 | marvintm | Target Version | => 24Q3.3 |
2024-11-05 14:05 | hgbot | Note Added: 0171421 | |
2024-11-05 15:09 | hgbot | Note Added: 0171432 | |
2024-11-05 15:09 | hgbot | Resolution | open => fixed |
2024-11-05 15:09 | hgbot | Status | scheduled => closed |
2024-11-05 15:09 | hgbot | Note Added: 0171433 | |