Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-29189

PDF/Word export of gadget from JIRA renders html markup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 5.0.1, 5.1.2, 5.3, 5.4.2, 5.5, 5.5.6, 5.6.3, 5.7.1, 6.1.0, 6.1.1, 6.6.0, 6.6.8, 7.4.11, 7.19.16, 8.5.3, 7.19.17, 7.19.19
    • Page - Export / Import

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Steps to reproduce.

      1. Add a JIRA pie chart gadget (or any other gadget) on a Confluence page
      2. Export the page to PDF or Word.
      3. The chart is not rendered. You see html markup being displayed in the export (refer attachment)

      Tested with JIRA 5.2.1 / 6.3.3 and Confluence 5.1.2 / 5.5.6.

      Workaround

      You can print the page with your browser and then select "Save as PDF" instead of actually printing the page. This is because the problem is related to the PDF export library that is unable to render the JS code of the gadgets before triggering the export. When you print the page in the browser, the content is already rendered, so there is no need for a server-side action before generating the export.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rtandon@atlassian.com Ruchi Tandon
              Votes:
              121 Vote for this issue
              Watchers:
              122 Start watching this issue

              Dates

                Created:
                Updated: