Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056982 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [POS2] POS | major | sometimes | 2024-09-26 12:53 | 2024-11-05 15:09 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | Rajesh_18 | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 24Q3.3 | |||
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 | 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0171421) hgbot (developer) 2024-11-05 14:05 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/169 [^] |
(0171432) hgbot (developer) 2024-11-05 15:09 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/169 [^] |
(0171433) hgbot (developer) 2024-11-05 15:09 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^] Changeset: e5014ab1bca65f0ee7c11ca7d504abfe8c38f8b2 Author: Rajesh Senthilkumar <rajesh@qualiantech.com> Date: 05-11-2024 18:32:13 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/e5014ab1bca65f0ee7c11ca7d504abfe8c38f8b2 [^] Fixed ISSUE-56982: Opensession import entry is created in prehook so that cash mgnt import entry will not fail --- M web-jspack/org.openbravo.retail.sessions/src/model/till/actions/OpenTillInServer.js M web-jspack/org.openbravo.retail.sessions/src/ob-init.js --- |
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 |
Copyright © 2000 - 2009 MantisBT Group |