Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004813Openbravo ERPF. Localizationpublic2008-09-04 10:032009-03-03 17:16
gorka_gil 
Dowid 
normalmajoralways
closedfixed 
5
pi 
 
Core
No
0004813: In some jasper reports date format is hardcoded
In some jasper reports date format is hardcoded:

  <textField...pattern="dd/MM/yyyy"...>

The files are:

ad_reports/ReportAnnualCertification.jrxml
ad_reports/ReportGuaranteeDateJR.jrxml
ad_reports/ReportInvoiceCustomerJR.jrxml
ad_reports/ReportInvoicesEditJR.jrxml
ad_reports/ReportOrderNotInvoiceJR.jrxml
ad_reports/ReportPurchaseOrder.jrxml
ad_reports/ReportSalesOrderJR.jrxml
ad_reports/ReportShipmentEdition.jrxml
ad_reports/ReportTaxInvoicePurchase.jrxml
ad_reports/ReportTaxInvoicePurchaseForeign.jrxml
ad_reports/ReportTaxInvoiceSale.jrxml
ad_reports/ReportTaxInvoiceSaleForeign.jrxml
erpReports/C_OrderJR.jrxml
erpReports/ReportRegisterByVatJR.jrxml
erpReports/ReportRegisterLineJR.jrxml
erpReports/RptC_Invoice.jrxml
erpReports/RptC_OrderPO.jrxml
erpReports/RptC_Remittance.jrxml
erpReports/RptC_Remittance_Lines.jrxml
erpReports/RptM_Requisition.jrxml
Now, this reports has some parameters defined as date type, and in the jrxml is hardcoded the pattern that defines the format of the date.

A solution can be change the type of the parameters to string, and apply the date format in java and send the parameter as string to jasper.
No tags attached.
blocks defect 0004683 closed Dowid In some jasper reports date format is hardcoded 
Issue History
2008-09-04 10:03cromeroNew Issue
2008-09-04 10:03cromeroAssigned To => gorka_gil
2008-09-04 10:03cromeroStatusnew => scheduled
2008-11-13 22:53rafarodaAssigned Togorka_gil => Hennadzi
2008-11-26 10:26PavelPonomarevAssigned ToHennadzi => Dowid
2008-12-02 15:59svnbotCheckin
2008-12-02 15:59svnbotNote Added: 0010894
2008-12-02 15:59svnbotStatusscheduled => resolved
2008-12-02 15:59svnbotResolutionopen => fixed
2008-12-02 15:59svnbotsvn_revision => 10869
2008-12-03 13:57svnbotCheckin
2008-12-03 13:57svnbotNote Added: 0010937
2008-12-03 13:57svnbotsvn_revision10869 => 10904
2009-03-03 17:16psarobeStatusresolved => closed

Notes
(0010894)
svnbot   
2008-12-02 15:59   
Repository: openbravo
Revision: 10869
Author: dowid
Date: 2008-12-02 15:59:24 +0100 (Tue, 02 Dec 2008)

Bug fixed 0004813: In some jasper reports date format is hardcoded

---
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportAnnualCertification.jrxml
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportGuaranteeDateJR.jrxml
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerJR.jrxml
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportInvoicesEditJR.jrxml
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportOrderNotInvoiceJR.jrxml
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportPurchaseOrder.jrxml
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderJR.jrxml
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportShipmentEdition.jrxml
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoicePurchase.jrxml
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoicePurchaseForeign.jrxml
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSale.jrxml
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSaleForeign.jrxml
U branches/r2.40/src/org/openbravo/erpReports/C_OrderJR.jrxml
U branches/r2.40/src/org/openbravo/erpReports/RptC_Invoice.jrxml
U branches/r2.40/src/org/openbravo/erpReports/RptC_OrderPO.jrxml
U branches/r2.40/src/org/openbravo/erpReports/RptC_Remittance.jrxml
U branches/r2.40/src/org/openbravo/erpReports/RptC_Remittance_Lines.jrxml
U branches/r2.40/src/org/openbravo/erpReports/RptM_Requisition.jrxml
---

https://dev.openbravo.com/websvn/openbravo/?rev=10869&sc=1 [^]
(0010937)
svnbot   
2008-12-03 13:57   
Repository: openbravo
Revision: 10904
Author: villind
Date: 2008-12-03 13:57:10 +0100 (Wed, 03 Dec 2008)

Merged r10869. Bug fixed 0004813: In some jasper reports date format is hardcoded

---
_U branches/bonware/r2.40/
_U branches/bonware/r2.40/config/setup-tool/
_U branches/bonware/r2.40/eclipse.install.source.launch
_U branches/bonware/r2.40/export.database.launch
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportAnnualCertification.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportGuaranteeDateJR.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerJR.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportInvoicesEditJR.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportOrderNotInvoiceJR.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportPurchaseOrder.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderJR.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportShipmentEdition.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoicePurchase.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoicePurchaseForeign.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSale.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSaleForeign.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpReports/C_OrderJR.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpReports/RptC_Invoice.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpReports/RptC_OrderPO.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpReports/RptC_Remittance.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpReports/RptC_Remittance_Lines.jrxml
U branches/bonware/r2.40/src/org/openbravo/erpReports/RptM_Requisition.jrxml
_U branches/bonware/r2.40/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java
_U branches/bonware/r2.40/update.database.launch
---

https://dev.openbravo.com/websvn/openbravo/?rev=10904&sc=1 [^]