Details

    • Type: Regression Bug 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:
    • Similar Issues:
      Show 5 results 

      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

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

        Activity

        Hide
        Minhchau Dang added a comment -

        Default image gallery max file size is 10MB. Unexpected error was replaced with a more useful error message LPS-16247.

        Show
        Minhchau Dang added a comment - Default image gallery max file size is 10MB. Unexpected error was replaced with a more useful error message LPS-16247 .

          People

          • Assignee:
            Minhchau Dang
            Reporter:
            Christine Pince (Inactive)
            Recent user:
            Randy Zhu
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

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

              Development

                Structure Helper Panel