You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Michael Frankerl (JIRA)" <ji...@apache.org> on 2013/01/07 12:16:14 UTC
[jira] [Created] (WICKET-4953) RangeValidator#decorate mixes error
keys
Michael Frankerl created WICKET-4953:
----------------------------------------
Summary: RangeValidator#decorate mixes error keys
Key: WICKET-4953
URL: https://issues.apache.org/jira/browse/WICKET-4953
Project: Wicket
Issue Type: Bug
Environment: wicket 6.4.0
Reporter: Michael Frankerl
The setting of error key in RangeValidator#decorate is wrong. Switch condition of case according to key.
Should be:
{code}
case MINIMUM :
error.addKey("MinimumValidator");
break;
case MAXIMUM :
error.addKey("MaximumValidator");
break;
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira