Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0039757 | Openbravo ERP | I. Performance | public | 2018-12-04 15:26 | 2018-12-12 10:52 | |||||||
Reporter | Sandrahuguet | |||||||||||
Assigned To | Sandrahuguet | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 30 | OS Version | Openbravo Appliance 14.04 | ||||||||
Product Version | ||||||||||||
Target Version | 3.0PR18Q3.4 | Fixed in Version | 3.0PR18Q3.4 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | alostale | |||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0039757: It would be nice to have a method to use lock "FOR NO KEY UPDATE" | |||||||||||
Description | It would be nice to have a method to use lock "FOR NO KEY UPDATE", because "FOR UPDATE" in PostgreSQL is too aggressive. | |||||||||||
Steps To Reproduce | - In order to easily simulate the 2 transactions are processed at same time it is necessary to set a break-point just after execution of following code : financialAccount.setCurrentBalance(financialAccount.getCurrentBalance().subtract(transaction.getDepositAmount()).add(transaction.getPaymentAmount())); - Go to Payment In and create a payment: Organization: F&B España - Region Norte Received From: Alimentos y Supermercados, S.A Payment Method: Transferencia Deposit To: Cuenta de Banco - EUR Amount: 100 In Add details - > Overpayment Action: Leave the credit to be used later Done and execution should be stopped in previous break-point - Open "new incognito window" in Chrome and access Go to Payment In and create a new payment: Organization: F&B España - Region Norte Received From: Restaurantes Luna Llena, S.A. Payment Method: Transferencia Deposit To: Cuenta de Banco - EUR Amount: 200 Click in add details, the popup does not open, save the header is locked | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-12-04 15:29 | Sandrahuguet | Type | defect => backport | |||||||||
2018-12-04 15:29 | Sandrahuguet | Target Version | => 3.0PR18Q3.4 | |||||||||
2018-12-05 13:21 | Sandrahuguet | Review Assigned To | => alostale | |||||||||
2018-12-05 15:22 | hgbot | Checkin | ||||||||||
2018-12-05 15:22 | hgbot | Note Added: 0108288 | ||||||||||
2018-12-05 15:22 | hgbot | Status | scheduled => resolved | |||||||||
2018-12-05 15:22 | hgbot | Resolution | open => fixed | |||||||||
2018-12-05 15:22 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR18Q3.4/rev/8ee19e974b751b598ca333f763fe623c4b6eb96c [^] | |||||||||
2018-12-05 17:50 | hgbot | Checkin | ||||||||||
2018-12-05 17:50 | hgbot | Note Added: 0108303 | ||||||||||
2018-12-05 18:07 | Sandrahuguet | Note Added: 0108307 | ||||||||||
2018-12-05 18:07 | Sandrahuguet | Status | resolved => new | |||||||||
2018-12-05 18:07 | Sandrahuguet | Resolution | fixed => open | |||||||||
2018-12-11 17:51 | hgbot | Checkin | ||||||||||
2018-12-11 17:51 | hgbot | Note Added: 0108411 | ||||||||||
2018-12-11 17:51 | hgbot | Checkin | ||||||||||
2018-12-11 17:51 | hgbot | Note Added: 0108412 | ||||||||||
2018-12-11 17:51 | hgbot | Status | new => resolved | |||||||||
2018-12-11 17:51 | hgbot | Resolution | open => fixed | |||||||||
2018-12-11 17:51 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/backports/3.0PR18Q3.4/rev/8ee19e974b751b598ca333f763fe623c4b6eb96c [^] => http://code.openbravo.com/erp/backports/3.0PR18Q3.4/rev/19193a2a5b15681a29f9f6c35b91903f0b8e6024 [^] | |||||||||
2018-12-12 10:52 | alostale | Note Added: 0108544 | ||||||||||
2018-12-12 10:52 | alostale | Status | resolved => closed | |||||||||
2018-12-12 10:52 | alostale | Fixed in Version | => 3.0PR18Q3.4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|