Openbravo Issue Tracking System - POS2
View Issue Details
0056555POS2POSpublic2024-09-26 12:532024-11-05 12:38
malsasua 
Rajesh_18 
normalmajorsometimes
closedfixed 
5
 
25Q1 
No
0056555: EWI caused by concurrence with Open Session and Cash Management events
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"
n/a
in OpenSession message, include the Cash Differences info, and create one unique message and then, one unique Data Import Entry
No tags attached.
depends on backport 005698124Q4 closed Rajesh_18 EWI caused by concurrence with Open Session and Cash Management events 
depends on backport 005698224Q3.3 closed Rajesh_18 EWI caused by concurrence with Open Session and Cash Management events 
depends on backport 005698324Q2.5 closed Rajesh_18 EWI caused by concurrence with Open Session and Cash Management events 
has duplicate defect 0056438 closed SABARINATH P EWI: duplicate key value violates unique constraint "obpos_appcash_pk" 
Issue History
2024-09-26 12:53malsasuaNew Issue
2024-09-26 12:53malsasuaAssigned To => Retail
2024-09-26 12:53malsasuaTriggers an Emergency Pack => No
2024-09-27 09:56guillermogilStatusnew => acknowledged
2024-10-01 06:47Rajesh_18Assigned ToRetail => Rajesh_18
2024-10-01 06:48Rajesh_18Statusacknowledged => scheduled
2024-10-14 18:17inaki_azkonobietaIssue Monitored: inaki_azkonobieta
2024-10-21 11:01hgbotNote Added: 0170686
2024-10-22 12:10marvintmRelationship addedhas duplicate 0056438
2024-10-23 08:12hgbotResolutionopen => fixed
2024-10-23 08:12hgbotStatusscheduled => closed
2024-10-23 08:12hgbotNote Added: 0170789
2024-10-23 08:12hgbotNote Added: 0170790
2024-11-05 12:38marvintmStatusclosed => new
2024-11-05 12:38marvintmResolutionfixed => open
2024-11-05 12:38marvintmStatusnew => scheduled
2024-11-05 12:38marvintmStatusscheduled => resolved
2024-11-05 12:38marvintmFixed in Version => 25Q1
2024-11-05 12:38marvintmResolutionopen => fixed
2024-11-05 12:38marvintmStatusresolved => closed

Notes
(0170686)
hgbot   
2024-10-21 11:01   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/156 [^]
(0170789)
hgbot   
2024-10-23 08:12   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 9b5f33903c7fadc3ee620ddf41ba63479fd16d29
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 23-10-2024 06:11:58
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/9b5f33903c7fadc3ee620ddf41ba63479fd16d29 [^]

Fixed ISSUE-56555: 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
---
(0170790)
hgbot   
2024-10-23 08:12   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/156 [^]