Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2023-09-19 14:112023-09-27 11:27
ReporterngarciaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR23Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression levelProduction - QA Approved
Regression date2023-06-14
Regression introduced in releaseRR23Q3
Regression introduced by commit [^]
Triggers an Emergency PackNo

0053493: Cash up is not stuck in Errors While Importing POS Data but it is not set as isprocessedbo if it has an existing reconciliation

DescriptionCash up is not stuck in Errors While Importing POS Data but it is not set as isprocessedbo if it has an existing reconciliation
Steps To ReproduceLog in in [^]

Do a sale
Do a cashup

In the backoffice:
Create a new record in the Data Import Entry window with the same data as the one related to the previous cashup

Change the "id" property and set it as Initial

Once it is processed, check the cash up has been created with isprocessed = 'Y' and isprocessedbo = 'N' but there isn't any related entry in the Errors While Importing POS Data

The log shows:

ERROR org.openbravo.retail.posterminal.ProcessCashClose - Cashup cannot be processed since error occurred in CashClose: A different object with the same identifier value was already associated with the session : [FIN_Reconciliation#D7C9B201C3ABC4553E5A4C340D2984E1]
org.hibernate.NonUniqueObjectException: A different object with the same identifier value was already associated with the session : [FIN_Reconciliation#D7C9B201C3ABC4553E5A4C340D2984E1]
    at org.hibernate.event.internal.AbstractSaveEventListener.performSave( ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId( ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId( ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient( ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate( ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate( ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener( ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.internal.SessionImpl.fireSaveOrUpdate( ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.internal.SessionImpl.saveOrUpdate( ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at ~[classes/:?]
    at ~[classes/:?]
    at org.openbravo.retail.posterminal.CashCloseProcessor.processCashClose( ~[classes/:?]
    at org.openbravo.retail.posterminal.ProcessCashClose.doReconciliationAndInvoices( [classes/:?]
    at org.openbravo.retail.posterminal.ProcessCashClose.saveRecord( [classes/:?]
    at [classes/:?]
    at [classes/:?]
    at [classes/:?]
    at [classes/:?]
    at org.openbravo.retail.posterminal.importprocess.CashUpImportEntryProcessor$CashUpRunnable.processEntry( [classes/:?]
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle( [classes/:?]
    at org.openbravo.service.importprocess.ImportEntryProcessor$ [classes/:?]
    at java.util.concurrent.Executors$ [?:?]
    at [?:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:?]
    at java.util.concurrent.ThreadPoolExecutor$ [?:?]
    at [?:?]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0053536RR23Q3.1 closedranjith_qualiantech_com Cash up is not stuck in Errors While Importing POS Data but it is not set as isprocessedbo if it has an existing reconciliation 
caused by defect 0052664 closedranjith_qualiantech_com Cash Up in Errors While Importing POS Data cannot be saved again if the amount counted is higher than the amount to keep 

-  Notes
hgbot (developer)
2023-09-26 04:22

Merge Request created: [^]
hgbot (developer)
2023-09-27 11:27

Merge request merged: [^]
hgbot (developer)
2023-09-27 11:27

Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: a7f4db84ba33f88dff1208208ad09b3a761490d2
Author: Ranjith S R <>
Date: 26-09-2023 13:57:28
URL: [^]

Fixed ISSUE-53493: Exception should be thrown when error occurs in CashCloseProcess

M src/org/openbravo/retail/posterminal/

- Issue History
Date Modified Username Field Change
2023-09-19 14:11 ngarcia New Issue
2023-09-19 14:11 ngarcia Assigned To => Retail
2023-09-19 14:11 ngarcia Triggers an Emergency Pack => No
2023-09-25 10:54 marvintm Assigned To Retail => ranjith_qualiantech_com
2023-09-25 10:54 marvintm Status new => acknowledged
2023-09-25 12:08 ranjith_qualiantech_com Regression level => Production - QA Approved
2023-09-25 12:08 ranjith_qualiantech_com Regression date => 2023-06-14
2023-09-25 12:08 ranjith_qualiantech_com Regression introduced in release => RR23Q3
2023-09-25 12:08 ranjith_qualiantech_com Regression introduced by commit => [^]
2023-09-25 12:08 ranjith_qualiantech_com Status acknowledged => scheduled
2023-09-25 12:15 ranjith_qualiantech_com Relationship added caused by 0052664
2023-09-26 04:22 hgbot Note Added: 0155226
2023-09-27 11:27 hgbot Resolution open => fixed
2023-09-27 11:27 hgbot Status scheduled => closed
2023-09-27 11:27 hgbot Note Added: 0155288
2023-09-27 11:27 hgbot Fixed in Version => RR23Q4
2023-09-27 11:27 hgbot Note Added: 0155289

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker