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

PDF macro is rendered with blank page when used with scanned PDFs

      After the upgrade to 5.3, there are some pdf files which are being rendered blank by the pdf macro.

      This works without problems in a 5.2.5 version.

      The attachment in this page can be used to reproduce the behavior.

      Steps to reproduce.
      1) Attach the pdf file of this ticket to a confluence page
      2) Insert a pdf macro and load the pdf file
      3) The macro will show a blank page and nothing more.

      workaround

      You can start confluence with `-Dpdf.render.memory.guard.disabled=true` system property in order to disable memory guard. That will make all pdfs to be rendered.
      More information on how to set system properties in confluence can be found here

      If the PDF doesn't render with the workaround in place, you must delete and recreate the PDF macro after placing the system property above and restarting Confluence.

        1. About Confluence.pdf
          34 kB
          Rodrigo Girardi Adami
        2. bug.JPG
          54 kB
          Rodrigo Girardi Adami

            [CONFSERVER-31759] PDF macro is rendered with blank page when used with scanned PDFs

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2894542 ] New: CONFSERVER Bug Workflow v4 [ 2985515 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2779290 ] New: JAC Bug Workflow v3 [ 2894542 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2737287 ] New: JAC Bug Workflow v2 [ 2779290 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2390815 ] New: JAC Bug Workflow [ 2737287 ]
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix filepreview_fixed loyalty pdf-generation regression st10 New: affects-server filepreview_fixed loyalty pdf-generation regression st10
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix filepreview_fixed pdf-generation regression st10 New: affects-server bugfix filepreview_fixed loyalty pdf-generation regression st10
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2270199 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2390815 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2220799 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2270199 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2161682 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2220799 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1951222 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2161682 ]

              psemeniuk Petro Semeniuk (Inactive)
              rgadami Rodrigo Girardi Adami
              Affected customers:
              49 This affects my team
              Watchers:
              59 Start watching this issue

                Created:
                Updated:
                Resolved: