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

RuntimeException if updating assets/images larger than the max.file.size setting

    XMLWordPrintable

Details

    • 0.5
    • Sprint 104, Sprint 105

    Description

      Steps to reproduce:

      1. Change max.file.size setting to 1MB at
        /hippo:configuration/hippo:frontend/cms/cms-services/assetValidationService
        
      2. Go to CMS, edit an asset, try to update the asset with a file larger than 1MB.

      See exception in the screenshot

      Updated: exception is only displayed when wicket is in development mode. Otherwise no error is displayed. The browse console contains following logs like this:

      "NetworkError: 502 Bad Gateway - http:/localhost:8080/?1-3.IBehaviorListener.0-root-tabs-panel~container-cards-2-panel-center-tabs-panel~container-cards-3-panel-editor-extension.editor-form-template-view-3-item-view-1-item-extension.upload-form-fileUploadPanel-fileInput&wicket-ajax=true&wicket-ajax-baseurl=%3F1%26amp%3Bpath%3D%2Fcontent%2Fgallery%2Fnews%2F2005%2F04%2Fscreen-shot-2010-07-26-at-11.20.36-am.png"
      ?1-3.IB...-am.png
      Wicket.Ajax: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root <ajax-response> element
      

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              cngo Canh Ngo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: