[
https://issues.apache.org/jira/browse/WICKET-6181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov updated WICKET-6181:
------------------------------------
Affects Version/s: (was: 7.3.0)
> Revert the removal of the default error message when uploading too big files
> ----------------------------------------------------------------------------
>
> Key: WICKET-6181
> URL: https://issues.apache.org/jira/browse/WICKET-6181
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.23.0
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Priority: Minor
> Fix For: 6.24.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)