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 2013/01/07 14:36:13 UTC

[jira] [Resolved] (WICKET-4953) RangeValidator#decorate mixes error keys

     [ https://issues.apache.org/jira/browse/WICKET-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4953.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.5.0
         Assignee: Martin Grigorov
    
> 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
>            Assignee: Martin Grigorov
>             Fix For: 6.5.0
>
>
> 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