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

File is too large to preview message does not display

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: DM
    • Labels:

      Description

      Steps to reproduce:

      1. Add a jpg file with at least 10 mb (I was able to reproduce on images with a file size of 12 mb, 18 mb, and 20 mb, but NOT on 4 mb, 7 mb, 8 mb)
      2. View file

      Expected results:
      As mentioned in LPS-86935, the info message display as

      File is too big to preview
      File exceeds size limit to preview, download to view it

      Download button displays as well.

      Either that or the preview displays.

      Actual results: 

      The following info message displays:

      No preview available
      Hmm.. looks like this item doesn't have a preview we can show you

      Reproduced on:
      Tomcat 9.0.6 + MySQL 5.6
      Portal master GIT ID: c1ef7d8addbed32016d63d31fe0d830154249f33

        Attachments

        1. 49.png
          49.png
          50 kB
        2. file too big.png
          file too big.png
          139 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  26 weeks, 4 days ago

                  Packages

                  Version Package
                  Master