You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/06/17 07:48:05 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15335612#comment-15335612 ]
ASF subversion and git services commented on WICKET-6181:
---------------------------------------------------------
Commit 46220db46669affbd03d75c0273208fa474eadcf in wicket's branch refs/heads/wicket-6.x from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=46220db ]
WICKET-6181 Revert the removal of the default error message when uploading too big files
> 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)