Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0028559 | Openbravo ERP | 09. Financial management | public | 2015-01-12 10:01 | 2015-01-19 09:54 |
|
| Reporter | gorkaion | |
| Assigned To | airaceburu | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 20 | OS Version | Gentoo |
| 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 | 0028559: When a financial transaction is processed the database connection sould not be closed |
| Description | The Java process implementing the Transaction 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 Financial Transaction 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_TransactionProcess.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 | 0028467 | | closed | airaceburu | When a payment is processed through FIN_AddPayment.processPayment the database connection sould not be closed |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2015-01-12 10:01 | gorkaion | New Issue | |
| 2015-01-12 10:01 | gorkaion | Assigned To | => airaceburu |
| 2015-01-12 10:01 | gorkaion | OBNetwork customer | => No |
| 2015-01-12 10:02 | gorkaion | Modules | => Core |
| 2015-01-12 10:02 | gorkaion | Triggers an Emergency Pack | => No |
| 2015-01-12 10:02 | gorkaion | Issue generated from | 0028467 |
| 2015-01-12 10:02 | gorkaion | Relationship added | related to 0028467 |
| 2015-01-19 09:53 | gorkaion | Status | new => scheduled |
| 2015-01-19 09:53 | gorkaion | fix_in_branch | => pi |
| 2015-01-19 09:53 | gorkaion | Status | scheduled => resolved |
| 2015-01-19 09:53 | gorkaion | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/785864c626055bb628bdad220907042f37a214c1 [^] |
| 2015-01-19 09:53 | gorkaion | Resolution | open => fixed |
| 2015-01-19 09:54 | gorkaion | Review Assigned To | => gorkaion |
| 2015-01-19 09:54 | gorkaion | Note Added: 0073588 | |
| 2015-01-19 09:54 | gorkaion | Status | resolved => closed |
| 2015-01-19 09:54 | gorkaion | Fixed in Version | => 3.0PR15Q2 |