Data Intensive Macro in PDF Export Doesn't Render

XMLWordPrintable

    • 2
    • Severity 3 - Minor
    • 1

      Issue Summary

      A Connect app that has a PDF export renderMode that takes more than a few seconds to export data will show as blank in the PDF export.

      Steps to Reproduce

      1. In a Connect macro atlassian-connect.json have
                "renderModes": {
                  "default": {
                    "url": "/pdf-macro?pageId={page.id}&spaceId={space.id}"
                  },
                  "pdf": {
                    "url": "/pdf-macro?pageId={page.id}&spaceId={space.id}"
                  }
        
      1. In the PDF render, have a delay of 5 seconds before it returns the data
      2. Add the macro to a page with minimal content.
      3. Export the page to PDF.

      Expected Results

      The macro renders correctly
      working.pdf

      Actual Results

      The macro doesn't load all of the data so the macro doesn't load properly.
      broken.pdf

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

        1. working.pdf
          12 kB
          James Richards
        2. broken.pdf
          14 kB
          James Richards

            Assignee:
            Unassigned
            Reporter:
            Sripriya Gupta
            Votes:
            55 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated:
              Resolved: