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

Image upload validation requires restart after config change

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Cannot Reproduce
    • 2.22.14
    • None
    • None

    Description

      • When setting max.file size to 6M, the default of 4M is used anyway
      • Only using browsers without flash. Works correctly when flash is enabled
      • Lowering the max.file.size does work (i.e. it limits the file size).

      To reproduce:

      • Set the property: max.file.size = 6M
        in: /hippo:configuration/hippo:frontend/cms/cms-services/imageValidationService
      • Turn the flash plugin in your browser OFF
      • Go to the images in CMS
      • Upload an image between 4MB and 6MB (one is attached to the issue)
        Expected result: The image is uploaded
        Actual result: An error stating "Upload must be less than 4M"

      Attachments

        1. CMS7-6938.patch
          2 kB
          Jannis Bloemendal
        2. small-scale_big-filesize.jpg
          5.22 MB
          Simon Voortman

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              svoortman Simon Voortman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: