[
https://issues.apache.org/jira/browse/WICKET-1217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luciano Montebove resolved WICKET-1217.
---------------------------------------
Resolution: Fixed
Fixed in revision 3360 of wicket-contrib-jasperreports.
> wicket-contrib-jasperreport JRResource serialization problem
> ------------------------------------------------------------
>
> Key: WICKET-1217
> URL: https://issues.apache.org/jira/browse/WICKET-1217
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.3.0-rc1
> Reporter: Luciano Montebove
> Priority: Minor
>
> In wicket-contrib-jasperreport code using a recent JasperReports version
> (2.0.2 in my application, but the problem is there also with previous
> releases) with Wicket 1.3 there is a bug in class JRResource that make it not
> serializable generating errors from the Wicket 1.3 serialization ckecks. It
> is determined by the call to JasperFillManager.fillReport(report, params,
> dataSource) that changes the reportParameters (it's an HashMap) variable
> adding not serializable objects to it.
> A simple solution is replacing the code in getReportParameters() of
> JRResource avoiding to return directly the variable:
> public Map getReportParameters()
> {
> //modified for jasperreport 2.0.2 serialization problem
> return new HashMap(reportParameters);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.