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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015400
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] [Modules] Advanced Payables and Receivables IDLmajoralways2010-12-10 12:132011-05-24 10:57
ReportermaiteView Statuspublic 
Assigned Tomirurita 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionb1c69dc8f7d1
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015400: Transaction duplicated when running process in parallel

DescriptionIf 2 people try to add same transaction at same time, similar transaction is added twice.
It seems that document is not locked.

See screenshot attached for final result
Steps To Reproduce1. Sales Management || Transactions || Sales Invoice || Header : create sales invoice and pay it.
2. Access same application for 2 different computers and go to Financial Management || Receivables & Payables || Transactions || Financial Account || Account >> Transactions
3. Both of you press "Add Transaction" and choose same Payment. Press "Accept" button
4. You will see that two similar transactions have been added, although message says that 1 row inserted
TagsclosingMay2011
Attached Filespng file icon duplicatedtransaction.png [^] (175,514 bytes) 2010-12-10 12:27

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0015467 closedmirurita Transaction duplicated when running process in parallel 
related to defect 0016071 closedmirurita New unique constraint in FIN_FINACC_TRANSACTION prevents update 
related to defect 0017485 closedmirurita Transaction duplicated when adding GLItem Transactions in parallel 

-  Notes
(0033243)
hgbot (developer)
2010-12-16 17:18

Repository: erp/devel/pi
Changeset: b1c69dc8f7d1c0d7150aaba249f1c9872f5b0612
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Dec 16 17:17:34 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b1c69dc8f7d1c0d7150aaba249f1c9872f5b0612 [^]

Fixes issue 15400: Transaction duplicated when running process in parallel

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddTransaction.java
M src-db/database/model/tables/FIN_FINACC_TRANSACTION.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0033452)
hudsonbot (developer)
2010-12-30 13:14

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/b1c69dc8f7d1 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7d7e5eebcc62 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19448.obx [^]

- Issue History
Date Modified Username Field Change
2010-12-10 12:13 maite New Issue
2010-12-10 12:13 maite Assigned To => adrianromero
2010-12-10 12:13 maite Issue Monitored: networkb
2010-12-10 12:27 maite File Added: duplicatedtransaction.png
2010-12-15 12:21 adrianromero Assigned To adrianromero => eduardo_Argal
2010-12-16 16:43 mirurita Project Modules => Openbravo ERP
2010-12-16 17:17 mirurita Assigned To eduardo_Argal => mirurita
2010-12-16 17:18 hgbot Checkin
2010-12-16 17:18 hgbot Note Added: 0033243
2010-12-16 17:18 hgbot Status new => resolved
2010-12-16 17:18 hgbot Resolution open => fixed
2010-12-16 17:18 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b1c69dc8f7d1c0d7150aaba249f1c9872f5b0612 [^]
2010-12-16 18:18 mirurita Status resolved => new
2010-12-16 18:18 mirurita Resolution fixed => open
2010-12-16 18:18 mirurita Status new => scheduled
2010-12-16 18:18 mirurita fix_in_branch => pi
2010-12-16 18:18 mirurita Status scheduled => resolved
2010-12-16 18:18 mirurita Resolution open => fixed
2010-12-30 13:14 hudsonbot Checkin
2010-12-30 13:14 hudsonbot Note Added: 0033452
2011-02-28 10:57 alostale Relationship added related to 0016071
2011-05-24 10:02 dalsasua Tag Attached: closingMay2011
2011-05-24 10:57 dalsasua Status resolved => closed
2011-06-03 09:17 maite Relationship added related to 0017485


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker