Details
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.