Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0005578 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 01. General setup | major | always | 2008-10-20 10:47 | 2008-12-10 21:08 | |||
Reporter | jdillet | View Status | public | |||||
Assigned To | gmauleon | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | 2.40 | Fixed in SCM revision | 9275 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Oracle | Java version | 1.5 | |||
OS Version | Database version | Ant version | 1.7 | |||||
Product Version | 2.40 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
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 | 0005578: Connection leak in SL_AlertRule_SQL.java | |||||||
Description | Connection, statement and resultset used in SL_AlertRule_SQL.java are never closed. | |||||||
Steps To Reproduce | General Setup > Application > Alert > Create a new Record > Fill field SQL with: - a query without error - a query with errors: SELXT XXX FROM DUAL In both cases, connection created in this.getPreparedStatement(strSQL) is never released | |||||||
Proposed Solution | Release Connection, statement and resultset in a finally block. See: - branch teseo: revision 8597 - branch holding: revision 8596 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0009768) svnbot (viewer) 2008-10-27 17:06 |
Repository: openbravo Revision: 9261 Author: gmauleon Date: 2008-10-27 17:06:41 +0100 (Mon, 27 Oct 2008) fixes 0005578 : Connection leak in SL_AlertRule_SQL.java --- U branches/r2.40/src/org/openbravo/erpCommon/ad_callouts/SL_AlertRule_SQL.java --- https://dev.openbravo.com/websvn/openbravo/?rev=9261&sc=1 [^] |
(0009774) svnbot (viewer) 2008-10-27 21:46 |
Repository: openbravo Revision: 9275 Author: villind Date: 2008-10-27 21:46:36 +0100 (Mon, 27 Oct 2008) Merged change 9261. fixes 0005578 : Connection leak in SL_AlertRule_SQL.java --- _U branches/bonware/r2.40/ _U branches/bonware/r2.40/config/setup-tool/ _U branches/bonware/r2.40/eclipse.install.source.launch _U branches/bonware/r2.40/export.database.launch U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_callouts/SL_AlertRule_SQL.java _U branches/bonware/r2.40/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java _U branches/bonware/r2.40/update.database.launch --- https://dev.openbravo.com/websvn/openbravo/?rev=9275&sc=1 [^] |
(0011163) psarobe (viewer) 2008-12-10 21:08 |
can't able to verify |
![]() |
|||
Date Modified | Username | Field | Change |
2008-10-20 10:47 | psarobe | New Issue | |
2008-10-20 10:47 | psarobe | Assigned To | => gmauleon |
2008-10-20 10:47 | psarobe | Status | new => scheduled |
2008-10-27 17:06 | svnbot | Checkin | |
2008-10-27 17:06 | svnbot | Note Added: 0009768 | |
2008-10-27 17:06 | svnbot | Status | scheduled => resolved |
2008-10-27 17:06 | svnbot | Resolution | open => fixed |
2008-10-27 17:06 | svnbot | svn_revision | => 9261 |
2008-10-27 21:46 | svnbot | Checkin | |
2008-10-27 21:46 | svnbot | Note Added: 0009774 | |
2008-10-27 21:46 | svnbot | svn_revision | 9261 => 9275 |
2008-12-10 21:08 | psarobe | Regression testing | => No |
2008-12-10 21:08 | psarobe | Status | resolved => closed |
2008-12-10 21:08 | psarobe | Note Added: 0011163 |
Copyright © 2000 - 2009 MantisBT Group |