Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020580
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminoralways2012-05-22 20:092012-06-25 18:33
ReporterszapataView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version3.0MP13
StatusclosedFix in branchFixed in SCM revision2a2e526a1da5
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020580: DalBaseProcess always closes the connection

DescriptionIf you execute a DalBaseProcess (process B) from another process (process A) using the same connection, the execution of the process B closes the connection and then process A cannot use this connection anymore.
Steps To Reproduce- Create a process A
- Call a process B that extends DalBaseProcess and use the same connection (bundle)
- Try to do some database transaction using the same connection.
- See the exception.
Proposed SolutionSee diff file attached
TagsNo tags attached.
Attached Filesdiff file icon SAIC_ProcessBundle_close_connection.diff [^] (2,402 bytes) 2012-05-22 20:09 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0027878 closedmarvintm Code in DalConnectionprovider relate to getTransactionConnection seems to leak db connections always 
related to defect 00299023.0PR15Q3 closedalostale ProcessBundle.setCloseConnection(false) has no impact when using DalBaseProcess, the connection is always closed 

-  Notes
(0049681)
hgbot (developer)
2012-06-07 17:18

Repository: erp/devel/pi
Changeset: 2a2e526a1da576f96b6778e55b14b77605fa360f
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Jun 07 17:17:34 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2a2e526a1da576f96b6778e55b14b77605fa360f [^]

Fixes issue 20580: DalBaseProcess always closes the connection
Close connection can be controlled explicitly

---
M src/org/openbravo/scheduling/ProcessBundle.java
M src/org/openbravo/service/db/DalBaseProcess.java
---
(0050073)
AugustoMauch (manager)
2012-06-25 18:33

Code reviewed and verified in pi@bd848324099c

- Issue History
Date Modified Username Field Change
2012-05-22 20:09 szapata New Issue
2012-05-22 20:09 szapata Assigned To => mtaal
2012-05-22 20:09 szapata File Added: SAIC_ProcessBundle_close_connection.diff
2012-05-22 20:09 szapata Web browser => Google Chrome
2012-05-22 20:09 szapata Modules => Core
2012-05-28 09:57 alostale Web browser Google Chrome => Google Chrome
2012-05-28 09:57 alostale Type defect => design defect
2012-05-31 20:26 szapata Issue Monitored: szapata
2012-06-01 21:35 networkb Web browser Google Chrome => Google Chrome
2012-06-01 21:36 networkb Issue Monitored: networkb
2012-06-07 17:18 hgbot Checkin
2012-06-07 17:18 hgbot Note Added: 0049681
2012-06-07 17:18 hgbot Status new => resolved
2012-06-07 17:18 hgbot Resolution open => fixed
2012-06-07 17:18 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2a2e526a1da576f96b6778e55b14b77605fa360f [^]
2012-06-25 18:33 AugustoMauch Note Added: 0050073
2012-06-25 18:33 AugustoMauch Status resolved => closed
2012-06-25 18:33 AugustoMauch Fixed in Version => 3.0MP13
2015-05-15 13:11 alostale Relationship added related to 0027878
2015-05-21 09:24 alostale Relationship added related to 0029902


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker