Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||||||||||||||||
| View Issue Details | ||||||||||||||||||||||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||||||||||||||||
| 0036697 | Openbravo ERP | A. Platform | public | 2017-08-23 08:41 | 2017-09-21 16:49 | |||||||||||||||||||||||||||||||||||
| Reporter | egoitz | |||||||||||||||||||||||||||||||||||||||
| Assigned To | caristu | |||||||||||||||||||||||||||||||||||||||
| Priority | urgent | Severity | major | Reproducibility | have not tried | |||||||||||||||||||||||||||||||||||
| Status | closed | Resolution | fixed | |||||||||||||||||||||||||||||||||||||
| Platform | OS | 5 | OS Version | |||||||||||||||||||||||||||||||||||||
| Product Version | ||||||||||||||||||||||||||||||||||||||||
| Target Version | Fixed in Version | 3.0PR17Q4 | ||||||||||||||||||||||||||||||||||||||
| Merge Request Status | ||||||||||||||||||||||||||||||||||||||||
| Review Assigned To | alostale | |||||||||||||||||||||||||||||||||||||||
| OBNetwork customer | OBPS | |||||||||||||||||||||||||||||||||||||||
| Web browser | ||||||||||||||||||||||||||||||||||||||||
| Modules | Core | |||||||||||||||||||||||||||||||||||||||
| Support ticket | 48158 | |||||||||||||||||||||||||||||||||||||||
| Regression level | ||||||||||||||||||||||||||||||||||||||||
| Regression date | ||||||||||||||||||||||||||||||||||||||||
| Regression introduced in release | ||||||||||||||||||||||||||||||||||||||||
| Regression introduced by commit | ||||||||||||||||||||||||||||||||||||||||
| Triggers an Emergency Pack | No | |||||||||||||||||||||||||||||||||||||||
| Summary | 0036697: connection leak when printing a image on a jasper subreport using the Utility.showImage method | |||||||||||||||||||||||||||||||||||||||
| Description | If you create a report that prints an image on the subreport using the method org.openbravo.erpCommon.utility.Utility.showImage($F{ad_image_id}) the connections is not closed. It is kept with 'idle in transaction' status. | |||||||||||||||||||||||||||||||||||||||
| Steps To Reproduce | 1-Create a report prininting an image on the subreport using the org.openbravo.erpCommon.utility.Utility.showImage($F{ad_image_id}) method. 1a- Apply the attached patch (subreportImage.diff), which adds an image in the subreport of the "Print Requisition" report. 1b- Recompile and restart tomcat. 2- In DB (PG) execute: select * from pg_stat_activity where state = 'idle in transaction' -> Check there are no rows 3- Execute the report 3a - Go to the [Requisition] window. Create a new record in the header. 3b- Move to the [Lines] tab and create one record at least. 3c- Generate the report by clicking on the print record of the toolbar. 4- Execute again select * from pg_stat_activity where state = 'idle in transaction' -> Check there is one row | |||||||||||||||||||||||||||||||||||||||
| Proposed Solution | ||||||||||||||||||||||||||||||||||||||||
| Additional Information | ||||||||||||||||||||||||||||||||||||||||
| Tags | Performance | |||||||||||||||||||||||||||||||||||||||
| Relationships |
| |||||||||||||||||||||||||||||||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=10999&type=bug https://issues.openbravo.com/file_download.php?file_id=11000&type=bug https://issues.openbravo.com/file_download.php?file_id=11001&type=bug | |||||||||||||||||||||||||||||||||||||||
| Issue History | ||||||||||||||||||||||||||||||||||||||||
| Date Modified | Username | Field | Change | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 08:41 | egoitz | New Issue | ||||||||||||||||||||||||||||||||||||||
| 2017-08-23 08:41 | egoitz | Assigned To | => platform | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 08:41 | egoitz | OBNetwork customer | => Yes | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 08:41 | egoitz | Modules | => Core | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 08:41 | egoitz | Support ticket | => 48158 | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 08:41 | egoitz | Resolution time | => 1505253600 | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 08:41 | egoitz | Triggers an Emergency Pack | => No | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 08:41 | egoitz | Issue generated from | 0032576 | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 08:41 | egoitz | Relationship added | related to 0032576 | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 10:35 | caristu | Relationship added | related to 0030182 | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 12:09 | caristu | Assigned To | platform => caristu | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 12:16 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15679#r15679 | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 12:16 | caristu | File Added: subreportImage.diff | ||||||||||||||||||||||||||||||||||||||
| 2017-08-23 12:43 | caristu | Status | new => scheduled | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 12:52 | caristu | File Added: issue36697.diff | ||||||||||||||||||||||||||||||||||||||
| 2017-08-23 12:52 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15680#r15680 | |||||||||||||||||||||||||||||||||||||
| 2017-08-23 13:20 | caristu | File Added: issue36697v2.diff | ||||||||||||||||||||||||||||||||||||||
| 2017-08-23 14:04 | caristu | Tag Attached: Performance | ||||||||||||||||||||||||||||||||||||||
| 2017-08-24 11:24 | caristu | Summary | connection leak when printing a image on a jasper subreport => connection leak when printing a image on a jasper subreport with showImage method | |||||||||||||||||||||||||||||||||||||
| 2017-08-24 11:24 | caristu | Summary | connection leak when printing a image on a jasper subreport with showImage method => connection leak when printing a image on a jasper subreport using the Utility.showImage method | |||||||||||||||||||||||||||||||||||||
| 2017-08-24 12:14 | hgbot | Checkin | ||||||||||||||||||||||||||||||||||||||
| 2017-08-24 12:14 | hgbot | Note Added: 0098629 | ||||||||||||||||||||||||||||||||||||||
| 2017-08-24 12:14 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||||||||||||||||
| 2017-08-24 12:14 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||||||||||||||||
| 2017-08-24 12:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/80ab9332dfc520dde252b67de567b0aaae00007a [^] | |||||||||||||||||||||||||||||||||||||
| 2017-08-24 12:15 | caristu | Review Assigned To | => alostale | |||||||||||||||||||||||||||||||||||||
| 2017-08-29 08:00 | alostale | Note Added: 0098674 | ||||||||||||||||||||||||||||||||||||||
| 2017-08-29 08:00 | alostale | Status | resolved => closed | |||||||||||||||||||||||||||||||||||||
| 2017-08-29 08:00 | alostale | Fixed in Version | => 3.0PR17Q4 | |||||||||||||||||||||||||||||||||||||
| 2017-09-21 16:49 | hudsonbot | Checkin | ||||||||||||||||||||||||||||||||||||||
| 2017-09-21 16:49 | hudsonbot | Note Added: 0099324 | ||||||||||||||||||||||||||||||||||||||
| 2018-08-28 14:16 | caristu | Relationship added | related to 0039194 | |||||||||||||||||||||||||||||||||||||
| 2018-09-11 09:44 | JONHM | Relationship added | related to 0039261 | |||||||||||||||||||||||||||||||||||||
| 2022-02-02 12:56 | caristu | Relationship added | related to 0048465 | |||||||||||||||||||||||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||