Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0048672 | Openbravo ERP | Z. Others | public | 2022-01-21 22:10 | 2022-03-07 11:29 | |||||||
Reporter | ivazquez | |||||||||||
Assigned To | caristu | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | PR21Q2.3 | |||||||||||
Target Version | PR22Q1.1 | Fixed in Version | PR22Q1.1 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | Production - Confirmed Stable | |||||||||||
Regression date | 2018-09-25 | |||||||||||
Regression introduced in release | 3.0PR18Q4 | |||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/8a73e458127f7a40f4db9fc8583db06798e0856e [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0048672: Some process definition reports stop working after upgrading from 18Q3 to 21Q2.3 | |||||||||||
Description | After an upgrade to version 21Q2.3 it was reported that a problem occurred when trying to generate process definition reports that make use of some org.openbravo.erpCommon.utility.Utility methods (that use DAL internally) in the header and also have a subreport executing a query. The error displayed by the stacktrace is as follows: Caused by: java.sql.SQLException: PooledConnection has already been closed. To clarify that in Openbravos.properties the following configuration is found this way: db.externalPoolClassName=org.openbravo.apachejdbcconnectionpool.JdbcExternalConnectionPool Related issue: https://issues.openbravo.com/view.php?id=47943 [^] | |||||||||||
Steps To Reproduce | 1.- Download and assemble a pristine in version 21Q2.3 2.- Install the module provided by the customer attached in the issue (which only has the process definition and the jaspers). 3.- Go to "Print Product" and select a product. 4.- Click on the button "Export to PDF". Returns the following error: net.sf.jasperreports.engine.JRException: Error preparing the statement to execute the report query. And in the logs you can see the error mentioned above | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2022-02-25 10:12 | caristu | Type | defect => backport | |||||||||
2022-02-25 10:12 | caristu | Target Version | => PR22Q1.1 | |||||||||
2022-03-01 18:18 | hgbot | Note Added: 0135371 | ||||||||||
2022-03-07 11:29 | hgbot | Resolution | open => fixed | |||||||||
2022-03-07 11:29 | hgbot | Status | scheduled => closed | |||||||||
2022-03-07 11:29 | hgbot | Note Added: 0135491 | ||||||||||
2022-03-07 11:29 | hgbot | Fixed in Version | => PR22Q1.1 | |||||||||
2022-03-07 11:29 | hgbot | Note Added: 0135492 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|