You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2016/06/16 20:55:05 UTC
[jira] [Updated] (WICKET-6181) Revert the removal of the default
error message when uploading too big files
[ https://issues.apache.org/jira/browse/WICKET-6181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov updated WICKET-6181:
------------------------------------
Fix Version/s: 6.24.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)