Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-71778

Page with a Jira macro and an image inside of a table can't be exported to PDF

    XMLWordPrintable

Details

    Description

      Issue Summary

      If a page has a Jira macro and an image inside of a table, we won't be able to export it to PDF, causing an error during the export.

      Steps to Reproduce

      1. Create a page using the current editor
      2. Add a Jira macro listing a few issues
      3. Add a table and insert an image inside (reproducible with PNG images)
        This is an example of storage format that causes this problem:
        broken_storage.html
      4. Publish the page and try to export it to PDF

      Expected Results

      The export should complete without problems

      Actual Results

      The export fails, throwing a generic error:

      There was an error in the export. Please check your log files.

      The following error is thrown in the backend

      java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1

      Workaround

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gtworkowski Guilherme T (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: