Description
With WICKET-5735 the default error message for "form upload too big" has been removed unintentionally:
In 6.17.0:
final String defaultValue = "Upload must be less than " + getMaxSize();
String msg = getString(getId() + '.' + UPLOAD_TOO_LARGE_RESOURCE_KEY,
Model.ofMap(model), defaultValue)
While in 6.23.0:
String msg = getString(getId() + '.' + UPLOAD_TOO_LARGE_RESOURCE_KEY,
Model.ofMap(model));
This makes it hard to specify an error message when using nested forms and the inner form has FileUploadField.
Attachments
Issue Links
- links to