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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030265
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorsometimes2015-06-29 11:062015-06-29 13:55
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in VersionRR15Q3
StatusclosedFix in branchFixed in SCM revisione75c338cf7dc
ProjectionnoneETAnoneTarget VersionRR15Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression levelProduction - QA Approved
Regression date2015-01-29
Regression introduced in releaseRR15Q2
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/93c44f0f6ec9 [^]
Triggers an Emergency PackNo
Summary

0030265: Due to a race condition, it could happen that a cash up is processed more than once

DescriptionDue to a problem in the code which manages the locks in the cash up process, it could happen that if the same cash up is sent more than once, it will be processed more than once also, which leads to:
- Duplicated invoices
- Duplicated reconciliations and transactions which move cash from the POS account to the bank account.
Steps To ReproduceSo far we don't have a reliable way to reproduce this problem. It happened several times in a customer, and the problem in the code is clear, but there is no way to reproduce this problem reliably using the functionality.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0030266RR15Q2.3 closedmarvintm Due to a race condition, it could happen that a cash up is processed more than once 
caused by defect 0028804RR15Q1 closedmarvintm cashups in "while importing data" window are not working fine 

-  Notes
(0078552)
hgbot (developer)
2015-06-29 11:09

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e75c338cf7dc7660232a90fd1db5db13e1515762
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jun 29 11:09:11 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e75c338cf7dc7660232a90fd1db5db13e1515762 [^]

Fixed issue 30265. The commit is not needed, and it unlocks the lock which is needed to ensure the cash up is only processed once in the event of more than one duplicated requests from the client side.

---
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
---
(0078555)
migueldejuana (developer)
2015-06-29 13:20

Tested and reviewed in e75c338cf7dc

- Issue History
Date Modified Username Field Change
2015-06-29 11:06 marvintm New Issue
2015-06-29 11:06 marvintm Assigned To => marvintm
2015-06-29 11:06 marvintm Regression level => Production - QA Approved
2015-06-29 11:06 marvintm Regression date => 2015-01-29
2015-06-29 11:06 marvintm Regression introduced in release => RR15Q2
2015-06-29 11:06 marvintm Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/93c44f0f6ec9 [^]
2015-06-29 11:06 marvintm Triggers an Emergency Pack => No
2015-06-29 11:07 marvintm Status new => scheduled
2015-06-29 11:09 hgbot Checkin
2015-06-29 11:09 hgbot Note Added: 0078552
2015-06-29 11:09 hgbot Status scheduled => resolved
2015-06-29 11:09 hgbot Resolution open => fixed
2015-06-29 11:09 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e75c338cf7dc7660232a90fd1db5db13e1515762 [^]
2015-06-29 13:20 migueldejuana Review Assigned To => migueldejuana
2015-06-29 13:20 migueldejuana Note Added: 0078555
2015-06-29 13:20 migueldejuana Status resolved => closed
2015-06-29 13:20 migueldejuana Fixed in Version => RR15Q3
2015-06-29 13:55 dmitry_mezentsev Relationship added caused by 0028804


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker