Uploaded image for project: 'Commons FileUpload'
  1. Commons FileUpload
  2. FILEUPLOAD-154

improve FileUploadLimitExceededException metadata

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.2.2
    • None

    Description

      Hi,

      It would be very helpful if FileSizeLimitExceededException stored the uploaded file name and html field name as properties.

      This is helpful data to display in an error message especially if there are multiple FileUpload fields. An example message could be:

      The file 'MyDoc.pdf' is too large. The 'Upload CV' field is limited to 1mb.

      regards

      bob

      Attachments

        Activity

          People

            jochen@apache.org Jochen Wiedmann
            sabob Bob Schellink
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: