Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028467 | Openbravo ERP | 09. Financial management | public | 2014-12-22 17:53 | 2015-02-04 20:33 |
|
Reporter | airaceburu | |
Assigned To | airaceburu | |
Priority | normal | Severity | major | Reproducibility | N/A |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR15Q2 | |
Merge Request Status | |
Review Assigned To | gorkaion |
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 | 0028467: When a payment is processed through FIN_AddPayment.processPayment the database connection sould not be closed |
Description | The Java process implementing the Payment Process always does a rollback and close when there is an exception. This database close causes issues when calling this process from other processes.
There should be a public api to process Payment to be called by other processes. This api should throw an OBException when an error happens instead of doing a rollback and closing the connection. |
Steps To Reproduce | N/A |
Proposed Solution | Modify the FIN_PaymentProcess.java file to create a new public static method to process a financial transaction. The public execute method must be left. Both methods should call a private method with all the logic. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0028559 | | closed | airaceburu | When a financial transaction is processed the database connection sould not be closed |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-12-22 17:53 | airaceburu | New Issue | |
2014-12-22 17:53 | airaceburu | Assigned To | => airaceburu |
2014-12-22 17:53 | airaceburu | OBNetwork customer | => No |
2014-12-22 17:53 | airaceburu | Modules | => Core |
2014-12-22 17:53 | airaceburu | Triggers an Emergency Pack | => No |
2015-01-12 10:02 | gorkaion | Issue cloned | 0028559 |
2015-01-12 10:02 | gorkaion | Relationship added | related to 0028559 |
2015-01-12 10:03 | gorkaion | Category | 07. Sales management => 09. Financial management |
2015-01-12 10:03 | gorkaion | Description Updated | bug_revision_view_page.php?rev_id=7419#r7419 |
2015-01-12 10:03 | gorkaion | Proposed Solution updated | |
2015-01-13 09:33 | hgbot | Checkin | |
2015-01-13 09:33 | hgbot | Note Added: 0073445 | |
2015-01-13 09:33 | hgbot | Status | new => resolved |
2015-01-13 09:33 | hgbot | Resolution | open => fixed |
2015-01-13 09:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/785864c626055bb628bdad220907042f37a214c1 [^] |
2015-01-13 09:33 | hgbot | Checkin | |
2015-01-13 09:33 | hgbot | Note Added: 0073446 | |
2015-01-19 09:27 | airaceburu | Review Assigned To | => gorkaion |
2015-01-19 09:54 | gorkaion | Note Added: 0073589 | |
2015-01-19 09:54 | gorkaion | Status | resolved => closed |
2015-01-19 09:54 | gorkaion | Fixed in Version | => 3.0PR15Q2 |
2015-02-04 20:33 | hudsonbot | Checkin | |
2015-02-04 20:33 | hudsonbot | Note Added: 0074137 | |
2015-02-04 20:33 | hudsonbot | Checkin | |
2015-02-04 20:33 | hudsonbot | Note Added: 0074138 | |
Notes |
|
(0073445)
|
hgbot
|
2015-01-13 09:33
|
|
Repository: erp/devel/pi
Changeset: 785864c626055bb628bdad220907042f37a214c1
Author: Ander Iraceburu <ander.iraceburu <at> openbravo.com>
Date: Mon Jan 12 12:34:31 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/785864c626055bb628bdad220907042f37a214c1 [^]
Fixes issue 28467: Code refactoring to FIN_TransactionProcess.java & FIN_PaymentProcess.java
In order to remove the commitAndClose every time the method processPayment fails a refactoring has been made. Taking advantage of this refactoring also the use of ProcessBundle, OBError, ConnectionProvider and VariablesSecureApps has been reduced to a minimum.
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java
---
|
|
|
(0073446)
|
hgbot
|
2015-01-13 09:33
|
|
Repository: erp/devel/pi
Changeset: d409ba0d336b7cada374e7c2ffeaddfb7373aaad
Author: Ander Iraceburu <ander.iraceburu <at> openbravo.com>
Date: Mon Jan 12 16:20:56 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d409ba0d336b7cada374e7c2ffeaddfb7373aaad [^]
Related to issue 28467: FIN_PaymentProcess.java Bugfix
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
|
|
|
|
|
|
|
|
|
|
|