Openbravo Issue Tracking System - Localization Pack: Spain
View Issue Details
0041195Localization Pack: SpainMulti Dimensional Tax Reportpublic2019-06-27 15:522019-06-27 15:55
vmromanos 
shuehner 
normalminorhave not tried
closedfixed 
5
 
 
vmromanos
0041195: Stop calling deprecated ReportingUtils.getTranslatedJasperReport method variant
This module still calls the deprecated method variant with following parameters:

ConnectionProvider conn, String reportName,
      String language, String baseDesignPath

which internally calls a simplified version anyway with those:

ConnectionProvider conn, String reportName,
      String language

the module should be fixed to call that 2nd variant directly.
-
-
No tags attached.
related to defect 0041193 closed shuehner Stop calling deprecated ReportingUtils.getTranslatedJasperReport method variant 
Issue History
2019-06-27 15:52vmromanosNew Issue
2019-06-27 15:52vmromanosAssigned To => shuehner
2019-06-27 15:52vmromanosIssue generated from0041193
2019-06-27 15:52vmromanosRelationship addedrelated to 0041193
2019-06-27 15:54vmromanosStatusnew => scheduled
2019-06-27 15:54hgbotCheckin
2019-06-27 15:54hgbotNote Added: 0113063
2019-06-27 15:54hgbotStatusscheduled => resolved
2019-06-27 15:54hgbotResolutionopen => fixed
2019-06-27 15:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30.cashvat/rev/820589d660e0ed705df13e98944c1639cfd5f996 [^]
2019-06-27 15:55vmromanosReview Assigned To => vmromanos
2019-06-27 15:55vmromanosNote Added: 0113065
2019-06-27 15:55vmromanosStatusresolved => closed

Notes
(0113063)
hgbot   
2019-06-27 15:54   
Repository: erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30.cashvat
Changeset: 820589d660e0ed705df13e98944c1639cfd5f996
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Jun 27 15:54:26 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30.cashvat/rev/820589d660e0ed705df13e98944c1639cfd5f996 [^]

Fixed 41195. Fix deprecation warning by calling new method.

getTranslatedJasperReport lost is baseDesignPath parameter and the old method
having it just calls the variant without.

Fix the module to call the new non-deprecated version directly in the ReportingUtils class.

---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/module/invoiceTaxReportEnhanced30/cashvat/ad_reports/OBMTRCV_InvoiceTaxReportJR.java
---
(0113065)
vmromanos   
2019-06-27 15:55   
Code review + testing OK