Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-9

OnError does not work on file upload exceding max size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.3
    • 1.2.6
    • None
    • None

    Description

      The Form#onError method is not invoked when a user is uploading a file bigger than the max size attribute specified.

      This is a strange behaviour because an error message is set correctly but is not possible to intercept the reasing error event.

      This happens because Form#handleMultiPart() set an error in the form component and retun false, so Form#process() is not called and nobody invoke Form#onError().

      Attachments

        Activity

          People

            Unassigned Unassigned
            pablo72 paolo di tommaso
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: