Uploaded image for project: 'Pentaho Reporting and Pentaho Report Designer'
  1. Pentaho Reporting and Pentaho Report Designer
  2. PRD-5873

Underlined Label Elements in PRPT Report Generate Adobe Acrobat Error When Executed in PDF

    XMLWordPrintable

    Details

    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Sprint Team:
      Tatooine (Maint)
    • Steps to Reproduce:
      Hide

      1. Open up the attached v6 reports in a 6.1.x or 7.x PRD, or the v7 reports in a 7.x PRD, and preview the reports labeled as "FAILS" in PDF format to view the Adobe Acrobat error

      2. Create a new PRPT report, place a label in the "Page Footer" band (just one example of a band where this issue occurs), set the Style > font > underline = true option for the label and preview in PDF

      Show
      1. Open up the attached v6 reports in a 6.1.x or 7.x PRD, or the v7 reports in a 7.x PRD, and preview the reports labeled as "FAILS" in PDF format to view the Adobe Acrobat error 2. Create a new PRPT report, place a label in the "Page Footer" band (just one example of a band where this issue occurs), set the Style > font > underline = true option for the label and preview in PDF

      Description

      When a label element in a PRPT report is set to have a "Style > font > underline = true" value active in certain bands of the report, when previewing or executing the report in PDF format, Adobe Acrobat will generate the following generic error message:

      "An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem."

      Screenshots of the error message and the settings for an underlined label value are attached for easy reference.

      In testing on a 6.1.0.6 and 7.0.0.3 PRD, the behavior of how to generate the error is inconsistent as to which report band causes the failure, and may change based on what datasource is being used. There is also evidence to support the an underlined label element in a sub-report will result in the error.

      The following results were found during testing for this issue:

      6.1 Breakdown of where underlined label causes the PDF error to display using a FoodMart data source:

      Page Header: works
      Report Header: works
      Group Header: works
      Details Header: works
      Details: ERROR
      Details Footer: ERROR
      Group Footer: ERROR
      Report Footer: ERROR
      Page Footer: ERROR

      When testing using the 6.1 report with a SampleData source, certain sections like the Details Footer do not make the error display immediately, but it will display once you scroll down to the page in which the Group Footer is displayed.

      7.0 Breakdown of where underlined label causes the PDF error to display using a SampleData data source:

      Page Header: works
      Report Header: works
      Group Header: works
      Details Header: works
      Details: ERROR
      Details Footer: works
      Group Footer: works
      Report Footer: works
      Page Footer: ERROR

      Some evidence to suggest that it errors in general when applied to labels in a sub-report

        Attachments

          Activity

            People

            Assignee:
            dkrauchanka Dzmitry Krauchanka (Inactive)
            Reporter:
            sbaker Steve Baker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: