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

Document conversion fails using LibreOffice; could not load input document

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: DM
    • Labels:
    • Fix Priority:
      3
    • QA Test Score:
      0

      Description

      Description: User cannot download a .pptx with Libreoffice 6.2.2

      Setup:

      1) start LibreOffice or OpenOffice in server mode with the following command via Terminal/Console:
      (Login) sudo su
      a. soffice -headless --accept="socket,host=127.0.0.1,port=8100;urp;"-nofirststartwizard
      b. netstat -anp | grep LISTEN
      Should listen to port 8100.

      2) Start master bundle like normal without changing portal.ext.properties.
      3) Navigate to Control Panel > Configuration > System Settings > Platform > Connectors
      4) Enable OpenOffice Integration "Server Enabled" > Save
      5) Navigate to Contents > Documents and Media, upload multiple file types (eg Doc, PPT)

      Steps
      1) Go to DM>PPT file specific>info > Download options can be found in the information panel when a document is selected.
      2) Download as pdf.

      Expected Results: Should download a pdf file from powerpoint file from portal.

      Actual Results: Did not download a pdf file. Displayed error message on portal window. Also, Errors on console.

      Gist: https://gist.githubusercontent.com/lindacaldera/4b8cfc2642ef1386c04656c0434bbf03/raw/ca882673f0f632ac8cf7bb8e9273c630066c8ac9/bug-pptaspdf-libreoffice6.2

      Testing Environment
      Ubuntu 18.04.1 LTS+Tomcat 9.0.10+MySQL5.7
      Gitid: 6078ef910f410f601a1079dcbe65016232fe2f43

        Attachments

        1. consoleerror.png
          consoleerror.png
          99 kB
        2. failbug-pptaspdf.png
          failbug-pptaspdf.png
          32 kB
        3. saveaspptaspdf.png
          saveaspptaspdf.png
          47 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                24 weeks, 5 days ago

                Packages

                Version Package