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

Document preview does not display properly

    Details

    • Type: 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: Documents & Media
    • Labels:
      None
    • Environment:
      Tomcat 7.0.22 + MySQL 5. 6.1.x Revision: 94355.

      Description

      Document preview does not display properly in Document and Media portlet. Preview of the text is jarbled and incorrect characters display. [see preview1.jpg, preview2.jpg]

      Steps to reproduce:

      1. Navigate to Open Office install path (C:/Program Files(x86)/Open Office/program) in the command prompt and enter
         soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;"
      2. Add following lines in portal-ext.properties:
        openoffice.server.enabled=true
        openoffice.server.host=127.0.0.1
        openoffice.server.port=8100
        openoffice.cache.enabled=true
        
      3. Add DL portlet
      4. Add a new document and give a name without an extension (e.g., "doc1")
      5. View the document detail
      6. Click the Magnifying glass for the document preview
        Preview that displays is jumbled and text displays incorrectly

        Attachments

        1. Document.doc
          0.9 kB
        2. Document.docx
          2 kB
        3. preview1.JPG
          preview1.JPG
          247 kB
        4. preview2.JPG
          preview2.JPG
          285 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 42 weeks, 1 day ago

                Packages

                Version Package
                --Sprint 12/11
                6.1.0 CE RC1