Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029882Openbravo ERPA. Platformpublic2015-05-14 13:322015-06-01 16:45
caristu 
caristu 
immediateminorhave not tried
closedno change required 
5
 
 
caristu
Core
No
0029882: API changes required for Jasper library upgrade to version 6.0.0
Two API changes are required to integrate properly the upgrade of the Jasper library to version 6.0.0.

1) In the WebPOS module (org.openbravo.retail.posterminal) the CashUpReport class is making use of the ListOfArrayDataSource class of the jasper API. The constructor of this class has changed between version 4.0.1 and 6.0.0:

On Jasper 4.0.1:
 
  public ListOfArrayDataSource(List records, String[] columnNames)

On Jasper 6.0.0

  public ListOfArrayDataSource(List<Object[]> records, String[] columnNames)

This change should be take into account in the CashUpReport class to ensure the correct compilation.

2) The "Print and Send"[1] module is making use of the itext library. A new version of this library should be introduced with Jasper 6.0.0. To adapt this module to this new version just a small change should be done: the Print.java class is importing the itext classes using the following package: com.lowagie.text. The imports should use the com.itextpdf.text package instead


[1] http://centralrepository.openbravo.com/openbravo/org.openbravo.forge.ui/ForgeModuleDetail/Print-And-Send-Documents [^]
In description
Approved
related to feature request 0029566 closed caristu Openbravo ERP Upgrade Jasper Libraries 
related to defect 0029997 closed caristu Retail Modules Update usage of ListOfArrayDataSource class due to the Jasper Library upgrade 
related to defect 0030668 closed psanjuan Openbravo Localizations Instance cannot be upgraded to 3.0PR15Q3 if the Check Printing module is installed (included in US Localization Pack) 
Issue History
2015-05-14 13:32caristuNew Issue
2015-05-14 13:32caristuAssigned To => dmitry_mezentsev
2015-05-14 13:32caristuModules => Core
2015-05-14 13:32caristuTriggers an Emergency Pack => No
2015-05-14 13:40caristuDescription Updatedbug_revision_view_page.php?rev_id=8546#r8546
2015-05-14 13:40caristuDescription Updatedbug_revision_view_page.php?rev_id=8547#r8547
2015-05-14 17:58dmitry_mezentsevTag Attached: Approved
2015-05-14 17:58dmitry_mezentsevAssigned Todmitry_mezentsev => caristu
2015-05-25 12:51caristuRelationship addedrelated to 0029566
2015-05-25 13:23caristuRelationship addedrelated to 0029997
2015-05-25 15:59caristuIssue Monitored: marvintm
2015-05-25 16:00caristuReview Assigned To => marvintm
2015-05-25 16:00caristuStatusnew => scheduled
2015-05-25 16:00caristuReview Assigned Tomarvintm =>
2015-05-25 16:01caristuIssue End Monitor: marvintm
2015-06-01 16:45caristuReview Assigned To => caristu
2015-06-01 16:45caristuStatusscheduled => closed
2015-06-01 16:45caristuResolutionopen => no change required
2015-08-25 15:16ngarciaRelationship addedrelated to 0030668

There are no notes attached to this issue.