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

improve FileUploadLimitExceededException metadata

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2.2
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: