Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4953

RangeValidator#decorate mixes error keys

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.5.0
    • None
    • None
    • wicket 6.4.0

    Description

      The setting of error key in RangeValidator#decorate is wrong. Switch condition of case according to key.

      Should be:

      			case MINIMUM :
      				error.addKey("MinimumValidator");
      				break;
      			case MAXIMUM :
      				error.addKey("MaximumValidator");
      				break;
      

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mfrankerl Michael Frankerl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: