Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-23354

PDF preview does not display in Document and Media portlet

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.0 CE RC1
    • Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
    • Component/s: DM
    • Labels:
    • Environment:
      Tomcat 7.0.22 + MySQL 5. 6.1.x Revision: 93958.
    • Fix Priority:
      3
    • Caused by:
      Another improvement
    • Where was the bug?:
      JSP

      Description

      PDF preview does not display in Document and Media portlet. Default PDFBox is not displaying .pdf file previews.

      Expected outcome:

      PDF previews display without configurations because of the message in the console. Console displays

      "1:30:23,983 WARN [PDFProcessor:173] Liferay is not configured to use ImageMagick for generating Document Library previews and will default to PDFBox. For better quality previews, install ImageMagick and enable it in portal-ext.properties."

      Current outcome:

      PDF previews do not display without any configurations of adding ImageMagick or OpenOffice

      Steps to reproduce:
      1. Add Document and Media portlet
      2. Upload a .pdf file
      3. Click on the uploaded .pdf file
        • Preview will display a blank gray screen and the page is perpetually loading [see pdf preview.jpg]

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  8 years, 4 weeks, 3 days ago

                  Packages

                  Version Package
                  --Sprint 12/11
                  6.1.0 CE RC1