Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Some Bugs : JasperReports, subreports and images

  1. #1

    Default Some Bugs : JasperReports, subreports and images

    Dear all,

    I am currently working on JasperReportsComponent capabilities and it seems that the component do not manage all JasperReports features.

    1 - access to resources such as subreports, images or resource bundles
    ? it seems that JasperReports cannot find them even if they are defined with relative path
    ¤ proposed solution : to declare these resources as Action sequence resources,then to specify them as complementary resources of the JasperReportsComponent and then to put them in the parameter of executed JasperReports (with good parameter name).

    2 - ParameterProvider does not provide well defined parameters to JasperReports for the HttpRequestParameterProvider implementation, only java.lang.String are provided.
    ? there is always an error when JasperReport has an Integer parameter and when it is launched from pentaho webapp.
    ¤ proposed solution : to convert returned java.lang.String parameter in the corresponding JRParameter type.

    3 - Html output of jasperreports
    ? html output is first stored on the solution repositoy (system/tmp/reportName). What about concurrent access?
    ¤ generate html output in a path based on UserSession infos.
    For example, system/tmp/usersessionID/reportName.

    That's all.

    I hope it will help Pentaho Team to provide us a strong solution.

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default Re:Some Bugs : JasperReports, subreports and image

    Annotation to point 3: Storing the temporary output on the solution repository path is surely a bad idea. Once the solution repository is database based, you will run into trouble with that approach.

    It is better (yet still not optimal) to store these files in the system's temp directory instead.

    Have fun,
    said Thomas
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.