Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056555
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorsometimes2024-09-26 12:532024-11-05 12:38
ReportermalsasuaView Statuspublic 
Assigned ToRajesh_18 
PrioritynormalResolutionfixedFixed in Version25Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056555: EWI caused by concurrence with Open Session and Cash Management events

DescriptionWhen 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 Reproducen/a
Proposed Solutionin OpenSession message, include the Cash Differences info, and create one unique message and then, one unique Data Import Entry
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005698124Q4 closedRajesh_18 EWI caused by concurrence with Open Session and Cash Management events 
depends on backport 005698224Q3.3 closedRajesh_18 EWI caused by concurrence with Open Session and Cash Management events 
depends on backport 005698324Q2.5 closedRajesh_18 EWI caused by concurrence with Open Session and Cash Management events 
has duplicate defect 0056438 closedSABARINATH P EWI: duplicate key value violates unique constraint "obpos_appcash_pk" 

-  Notes
(0170686)
hgbot (developer)
2024-10-21 11:01

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/156 [^]
(0170789)
hgbot (developer)
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 (developer)
2024-10-23 08:12

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/156 [^]

- Issue History
Date Modified Username Field Change
2024-09-26 12:53 malsasua New Issue
2024-09-26 12:53 malsasua Assigned To => Retail
2024-09-26 12:53 malsasua Triggers an Emergency Pack => No
2024-09-27 09:56 guillermogil Status new => acknowledged
2024-10-01 06:47 Rajesh_18 Assigned To Retail => Rajesh_18
2024-10-01 06:48 Rajesh_18 Status acknowledged => scheduled
2024-10-14 18:17 inaki_azkonobieta Issue Monitored: inaki_azkonobieta
2024-10-21 11:01 hgbot Note Added: 0170686
2024-10-22 12:10 marvintm Relationship added has duplicate 0056438
2024-10-23 08:12 hgbot Resolution open => fixed
2024-10-23 08:12 hgbot Status scheduled => closed
2024-10-23 08:12 hgbot Note Added: 0170789
2024-10-23 08:12 hgbot Note Added: 0170790
2024-11-05 12:38 marvintm Status closed => new
2024-11-05 12:38 marvintm Resolution fixed => open
2024-11-05 12:38 marvintm Status new => scheduled
2024-11-05 12:38 marvintm Status scheduled => resolved
2024-11-05 12:38 marvintm Fixed in Version => 25Q1
2024-11-05 12:38 marvintm Resolution open => fixed
2024-11-05 12:38 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker