Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0034021 | Openbravo ERP | Z. Others | public | 2016-09-19 18:19 | 2016-09-29 00:02 |
|
Reporter | maite | |
Assigned To | Sanjota | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR16Q4 | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | OBPS |
Web browser | |
Modules | Advanced Payables and Receivables Mngmt |
Support ticket | 43614 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0034021: Concurrency problem: is possible to process same transaction document more than one time when accessing from different sessions |
Description | In case 2 users access to Transactions tabs from different sessions (different browser persons, for example), both of them will be able to process the transaction in case not refresh is performed |
Steps To Reproduce | 1. Access any financial account window, transactions tab and create new record selecting any gl item and setting any amount
2. Open another browser session with different person and access same transaction register
3. Click "Process" button using this browser. Transaction will be processed and Financial Account's current balance will be updated
4. Using the other browser (without refreshing the screen) run "Process" button from same transaction. Realize that Financial Account's current balance will be updated again, causing inconsistency as Current Balance <> Initial Balance +- Processed Transactions |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0035137 | | closed | AtulOpenbravo | Concurrency problem: current balance wrongly calculated when 2 transactions are processed at same time |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-09-19 18:19 | maite | New Issue | |
2016-09-19 18:19 | maite | Assigned To | => Triage Finance |
2016-09-19 18:19 | maite | OBNetwork customer | => Yes |
2016-09-19 18:19 | maite | Modules | => Advanced Payables and Receivables Mngmt |
2016-09-19 18:19 | maite | Support ticket | => 43614 |
2016-09-19 18:19 | maite | Resolution time | => 1475445600 |
2016-09-19 18:19 | maite | Triggers an Emergency Pack | => No |
2016-09-19 18:20 | maite | Issue Monitored: networkb | |
2016-09-19 18:31 | heccam | Issue Monitored: heccam | |
2016-09-22 14:06 | aferraz | Assigned To | Triage Finance => Sanjota |
2016-09-27 13:38 | Sanjota | Status | new => scheduled |
2016-09-27 13:56 | Sanjota | Note Added: 0090301 | |
2016-09-28 09:53 | hgbot | Checkin | |
2016-09-28 09:53 | hgbot | Note Added: 0090328 | |
2016-09-28 09:53 | hgbot | Status | scheduled => resolved |
2016-09-28 09:53 | hgbot | Resolution | open => fixed |
2016-09-28 09:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/24cf2ca5a3c4d474eb78c04bf780ae646247bd1a [^] |
2016-09-28 09:54 | aferraz | Review Assigned To | => aferraz |
2016-09-28 09:54 | aferraz | Note Added: 0090331 | |
2016-09-28 09:54 | aferraz | Status | resolved => closed |
2016-09-28 09:54 | aferraz | Fixed in Version | => 3.0PR16Q4 |
2016-09-28 09:54 | aferraz | Note Edited: 0090301 | bug_revision_view_page.php?bugnote_id=0090301#r13256 |
2016-09-29 00:02 | hudsonbot | Checkin | |
2016-09-29 00:02 | hudsonbot | Note Added: 0090359 | |
2017-02-02 13:32 | maite | Relationship added | related to 0035137 |
Notes |
|
(0090301)
|
Sanjota
|
2016-09-27 13:56
(edited on: 2016-09-28 09:54) |
|
1. Access any financial account window, transactions tab and create new record selecting any gl item and setting any amount
2. Open another browser session with different person and access same transaction register
3. Click "Process" button using this browser. Transaction will be processed and Financial Account's current balance will be updated
4. Using the other browser (without refreshing the screen) run "Process" button from same transaction.
Observe that balance is not updated in financial account.
|
|
|
(0090328)
|
hgbot
|
2016-09-28 09:53
|
|
Repository: erp/devel/pi
Changeset: 24cf2ca5a3c4d474eb78c04bf780ae646247bd1a
Author: Sanjota <sanjota.nelagi <at> promantia.com>
Date: Tue Sep 27 17:14:31 2016 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/24cf2ca5a3c4d474eb78c04bf780ae646247bd1a [^]
Fixes issue 34021: Fixes to Concurrency problem with processing of transaction
Fix to Concurrency problem: is possible to process same transaction document more than one time when accessing from different sessions.
Fix: Along with filter on process button name, included status of the transaction as filter to process the transaction
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java
---
|
|
|
|
|
|
|
|