Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0005578 | Openbravo ERP | 01. General setup | public | 2008-10-20 10:47 | 2008-12-10 21:08 |
|
Reporter | jdillet | |
Assigned To | gmauleon | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.40 | |
Target Version | | Fixed in Version | | |
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 |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0005509 | | closed | gmauleon | Connection leak in SL_AlertRule_SQL.java |
|
Attached Files | |
|
Issue History |
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 | |