Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028559Openbravo ERP09. Financial managementpublic2015-01-12 10:012015-01-19 09:54
gorkaion 
airaceburu 
normalminoralways
closedfixed 
20Gentoo
 
3.0PR15Q2 
gorkaion
Core
No
0028559: When a financial transaction is processed the database connection sould not be closed
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.
N/A
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.
No tags attached.
related to feature request 0028467 closed airaceburu When a payment is processed through FIN_AddPayment.processPayment the database connection sould not be closed 
Issue History
2015-01-12 10:01gorkaionNew Issue
2015-01-12 10:01gorkaionAssigned To => airaceburu
2015-01-12 10:02gorkaionModules => Core
2015-01-12 10:02gorkaionTriggers an Emergency Pack => No
2015-01-12 10:02gorkaionIssue generated from0028467
2015-01-12 10:02gorkaionRelationship addedrelated to 0028467
2015-01-19 09:53gorkaionStatusnew => scheduled
2015-01-19 09:53gorkaionfix_in_branch => pi
2015-01-19 09:53gorkaionStatusscheduled => resolved
2015-01-19 09:53gorkaionFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/785864c626055bb628bdad220907042f37a214c1 [^]
2015-01-19 09:53gorkaionResolutionopen => fixed
2015-01-19 09:54gorkaionReview Assigned To => gorkaion
2015-01-19 09:54gorkaionNote Added: 0073588
2015-01-19 09:54gorkaionStatusresolved => closed
2015-01-19 09:54gorkaionFixed in Version => 3.0PR15Q2

Notes
(0073588)
gorkaion   
2015-01-19 09:54   
code reviewed