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

Unit incompatibility betweenFileUpload.setFileSizeMax and FileUploadBase$FileItemIteratorImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2
    • 1.2.2
    • None

    Description

      FileUploadBase$FileItemIteratorImpl.FileItemStreamImpl
      If we have too big file (binary, for example) and FileSizeLimitExceededException will be thrown you're always creating message: "The field " + fieldName + " exceeds its maximum permitted " + " size of " + pSizeMax + " characters."
      Size limit is setting using bytes, in this message user will have an information about too many characters...
      Can you change message to use that same unit?

      Attachments

        Activity

          People

            jochen@apache.org Jochen Wiedmann
            duzakropka Duzakropka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: