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

Reply via email to