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

Large .jpg files unable to be uploaded in Image Gallery

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 5.2.X EE, 6.0.6 GA, 6.0.12 EE, 6.1.0 CE RC1
    • Fix Version/s: 5.2.X EE, 6.0.12 EE, 6.1.0 CE RC1
    • Labels:
      None
    • Environment:

      Description

      Large image file (>10MB) with .jpg extension does not upload into Image Gallery. User receives message "An unexpected error occurred while uploading your file." (see attached screenshot)

      Tested in:
      Tomcat 6.0.24 + MySQL 5. Firefox 3.6.17 6.0.0 Revision 47403
      Tomcat 6.0.29 + MySQL 5. Firefox 3.6.17 6.0.6 Revision 74017
      Tomcat 6.0.32 + MySQL 5. Firefox 3.6.17 5.2.x Revision 81240
      Tomcat 6.0.32 + MySQL 5. Firefox 3.6.17 6.0.x Revision 81548
      Tomcat 6.0.32 + MySQL 5. Firefox 3.6.17 6.1.x Revision 81240

      In Liferay 6.0.0 large .jpg was able to be uploaded, and didn't receive the error message, but image did not display.

      Steps to reproduce:
      1. Start Liferay instance
      2. Navigate to [Control Panel]
      3. Click [Server Administration]
      4. Click [File Uploads]
      5. Enter [504857600] in General field
      6. Enter [50240000] in Image Gallery Field
      7. Click [save] and return to liferay.com
      8. Add [Image Gallery Test Page]
      9. Add [Image Gallery] portlet
      10. Click [Add Images]
      11. Upload large.png, large.bmp ,large.jpg file, small.jpg file and small.bmp file (attached)
      12. User receives error for large.jpg file, other files upload successfully. (screenshot attached)

      Unexpected error affects 6.0.6, 5.2.x, 6.0.x, and 6.1.x

        Attachments

        1. a small.jpg
          a small.jpg
          5.94 MB
        2. c large.bmp
          11.80 MB
        3. c small.bmp
          2.68 MB
        4. e large.png
          e large.png
          12.23 MB
        5. jpgerror.JPG
          jpgerror.JPG
          26 kB

          Issue Links

            Activity

              People

              Assignee:
              minhchau.dang Minhchau Dang
              Reporter:
              christine.pince Christine Pince (Inactive)
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  5.2.X EE
                  6.0.12 EE
                  6.1.0 CE RC1