Clarity

 View Only
Expand all | Collapse all

Tech Tip: After Jaspersoft upgrade to 7.1, custom report images are no longer displayed and throw errors

  • 1.  Tech Tip: After Jaspersoft upgrade to 7.1, custom report images are no longer displayed and throw errors

    Broadcom Employee
    Posted Aug 08, 2019 11:56 AM

    After upgrade to Jaspersoft 7.1, the OOTB reports work well. However the custom content with images/files does not display and error is thrown:

    <imageExpression><![CDATA["repo:/organizations/MyOrg/ca_ppm/resources/images/Background.png"]]></imageExpression>

     The server has encountered an error. Please excuse the inconvenience.

    There have been changes in how Jaspersoft evaluates the paths for different users.

    In older Jaspersoft versions you could use the absolute path for the resources and these absolute paths were resolved for the organizational users but that was deemed to be a potential security risk. The main idea is that the users should not know about the existence of anything else in the server other than their organization and its sub-organizations and public folder.

    The absolute path now only resolves for superuser and other users on root level if you have any. Superuser is intended to be used for global server administration and not for running or deploying reports.

     

    We recommend using relative paths such as:

    repo:/ca_ppm/resources/images/custom/Background.png

    Also ensure you always create a report developer user in the organization as per our Documentation:

    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/business-management/clarity-project-and-portfolio-management-ppm-on-premise/15-6/advanced-reporting-with-jaspersoft/create-and-publish-jaspersoft-studio-reports.html#concept.dita_8cf5c26dcad7b587854d5896daabdb4b4929ab20_creatrptuserCreateanAdvancedReportingDeveloperUser

     

    This issue was also posted as KB: 

    https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=135528



  • 2.  RE: Tech Tip: After Jaspersoft upgrade to 7.1, custom report images are no longer displayed and throw errors
    Best Answer

     
    Posted Aug 08, 2019 12:40 PM
    Thank you for sharing this tip with the community Nika!

    ------------------------------
    Chris Hackett
    Community Manager, Broadcom Enterprise Software Division
    Broadcom Inc.
    ------------------------------