Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-6476

BACKPORT 5970: 7.6 (2.20.xx) Reduce chance of out-of-memory during image upload (patch attached)

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • High
    • Resolution: Fixed
    • 2.20.12
    • 2.20.14
    • None

    Description

      1) we should make sure that the serialization of resizing when multiple users are uploading is working properly.
      2) apply a limit on the dimensions and file size of the image. An image with large dimensions can occupy a lot of memory space when resized.

      Description below is based on checking file size solely and is thus outdated.

      Flash based upload: change javascript such that flash upload gets a limit that is configured in the repo. Make sure that the error msg for reaching the limit is localized.
      Wicket based upload: check server side image size. Basic idea for the feedback is: Throw hippo exception when image too large. Change the default error dialog such that hippo exception is properly displayed instead of displaying 'an error occurred'

      Latter needs check with Frank

      Attachments

        1. 6767_retest_fail.txt
          5 kB
          Junaidh Kadhar Sheriff

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              jsheriff Junaidh Kadhar Sheriff
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: