Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0039261 | Openbravo ERP | A. Platform | public | 2018-09-11 09:44 | 2018-09-25 20:57 |
|
Reporter | JONHM | |
Assigned To | jarmendariz | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR18Q4 | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0039261: connection leak when printing image on subreports using the Utility.showImageLogo method |
Description | If you create a report that prints an image on the subreport using the method org.openbravo.erpCommon.utility.Utility.showImageLogo the connections are not closed. It is kept with 'idle in transaction' status. |
Steps To Reproduce | The problem is the same as in issue 36697. The method could be overloaded using the 'doCommit' boolean, as in the other changeset. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0036697 | | closed | caristu | connection leak when printing a image on a jasper subreport using the Utility.showImage method | related to | design defect | 0030182 | | closed | Triage Platform Base | jasper subreports using DAL do leak connection + transactions | causes | defect | 0048465 | | closed | caristu | Some process definition reports stop working after upgrading from 18Q3 to 21Q2.3 |
|
Attached Files | issue-39261.patch (5,821) 2018-09-12 19:13 https://issues.openbravo.com/file_download.php?file_id=12130&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2018-09-11 09:44 | JONHM | New Issue | |
2018-09-11 09:44 | JONHM | Assigned To | => platform |
2018-09-11 09:44 | JONHM | Modules | => Core |
2018-09-11 09:44 | JONHM | Resolution time | => 1538431200 |
2018-09-11 09:44 | JONHM | Triggers an Emergency Pack | => No |
2018-09-11 09:44 | JONHM | Relationship added | related to 0036697 |
2018-09-11 10:09 | jfrances | Issue Monitored: jfrances | |
2018-09-12 14:07 | jarmendariz | Assigned To | platform => jarmendariz |
2018-09-12 18:35 | jarmendariz | Status | new => scheduled |
2018-09-12 19:13 | jarmendariz | File Added: issue-39261.patch | |
2018-09-21 09:24 | jarmendariz | Review Assigned To | => caristu |
2018-09-21 09:28 | hgbot | Checkin | |
2018-09-21 09:28 | hgbot | Note Added: 0106919 | |
2018-09-21 09:28 | hgbot | Status | scheduled => resolved |
2018-09-21 09:28 | hgbot | Resolution | open => fixed |
2018-09-21 09:28 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ae5338494af6f4ae10bae4dcbc941ea4f9bceb32 [^] |
2018-09-24 19:06 | caristu | Description Updated | bug_revision_view_page.php?rev_id=17666#r17666 |
2018-09-24 19:07 | caristu | Summary | connection leak when printing image on subreports => connection leak when printing image on subreports using the Utility.showImageLogo |
2018-09-24 19:07 | caristu | Summary | connection leak when printing image on subreports using the Utility.showImageLogo => connection leak when printing image on subreports using the Utility.showImageLogo method |
2018-09-24 19:18 | caristu | Note Added: 0106975 | |
2018-09-24 19:18 | caristu | Status | resolved => new |
2018-09-24 19:18 | caristu | Resolution | fixed => open |
2018-09-25 10:00 | hgbot | Checkin | |
2018-09-25 10:00 | hgbot | Note Added: 0106986 | |
2018-09-25 10:09 | jarmendariz | Status | new => scheduled |
2018-09-25 10:13 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17684#r17684 |
2018-09-25 10:13 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17685#r17685 |
2018-09-25 10:15 | caristu | Relationship added | related to 0030182 |
2018-09-25 10:27 | hgbot | Checkin | |
2018-09-25 10:27 | hgbot | Note Added: 0106992 | |
2018-09-25 10:28 | caristu | Status | scheduled => resolved |
2018-09-25 10:28 | caristu | Resolution | open => fixed |
2018-09-25 10:28 | caristu | Note Added: 0106993 | |
2018-09-25 10:28 | caristu | Status | resolved => closed |
2018-09-25 10:28 | caristu | Fixed in Version | => 3.0PR18Q4 |
2018-09-25 14:16 | hudsonbot | Checkin | |
2018-09-25 14:16 | hudsonbot | Note Added: 0107012 | |
2018-09-25 14:16 | hudsonbot | Checkin | |
2018-09-25 14:16 | hudsonbot | Note Added: 0107018 | |
2018-09-25 20:57 | hudsonbot | Checkin | |
2018-09-25 20:57 | hudsonbot | Note Added: 0107029 | |
2022-01-31 13:34 | AugustoMauch | Relationship added | causes 0048465 |
Notes |
|
(0106919)
|
hgbot
|
2018-09-21 09:28
|
|
Repository: erp/devel/pi
Changeset: ae5338494af6f4ae10bae4dcbc941ea4f9bceb32
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Wed Sep 12 19:08:49 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ae5338494af6f4ae10bae4dcbc941ea4f9bceb32 [^]
Fixed issue 39261: Connection leak when printing image on subreports.
Adding a boolean flag to getImageLogoObject to add the possibility to commit
and close the connection once a logo image is retrieved.
---
M src/org/openbravo/erpCommon/utility/Utility.java
---
|
|
|
|
|
|
(0106986)
|
hgbot
|
2018-09-25 10:00
|
|
Repository: erp/devel/pi
Changeset: 8a73e458127f7a40f4db9fc8583db06798e0856e
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Tue Sep 25 09:59:27 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8a73e458127f7a40f4db9fc8583db06798e0856e [^]
Related to issue 39261: Connection leak when printing image on subreports.
Moved connection close to getImageLogo to avoid errors trying to fetch image
binary data from a closed connection.
---
M src/org/openbravo/erpCommon/utility/Utility.java
---
|
|
|
(0106992)
|
hgbot
|
2018-09-25 10:27
|
|
|
|
|
Code reviewed + tested OK. |
|
|
|
|
|
|
|
|
|
|