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

Document Library classic uploader if attempts to upload a file that is larger than the size limit portal will report the file as successfully on GUI but exceptions on console

    Details

    • Branch Version/s:
      6.0.x
    • Backported to Branch:
      Committed
    • Liferay Contributor's Agreement:
      Accept

      Description

      Steps to reproduce:

      Login to liferay

      Access Document Library

      Set the following in portat-ext.properties file:
      com.liferay.portal.upload.LiferayInputStream.threshold.size=104857600
      dl.file.max.size=104857600

      Attempt to upload a file larger than the file size limit.

      The user will see the following message even though the file has failed to upload
      "Your request processed successfully."

      Errors on the console:
      02:22:02,051 ERROR [UploadServletRequestImpl:101] org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (133589521) exceeds the configured maximum (104857600)
      org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (133589521) exceeds the configured maximum (104857600)
      at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:914)
      at org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:331)
      at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:349)
      at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              luyang.tan Luyang Tan (Inactive)
              Reporter:
              eric.min Eric Min (Inactive)
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  6.0.X EE
                  --Sprint 12/11
                  6.1.0 CE RC1