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

form fields are reset when a file upload fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 1.2.2, 1.2.3, 1.2.4, 1.2.5
    • 1.3.5
    • wicket
    • None
    • Tomcat 5.5.9 , windows 2000 SP2

    Description

      If a form contains some fields and a file field, when an uploads fails (for example exceeds the maximum size) the form fields are reset. A better behaviour would be to group all failed validations and show all the messages at once. The relevant code is in class wicket.markup.html.form.Form in method onFormSubmitted, where the condition of handleMultipart is first checked and if it has not been completed the method returns, without processing the rest of the fields.

      Attachments

        Activity

          People

            knopp Matej Knopp
            jdelajaraf Jaime De La Jara
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: