Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3091

ListValidator should implement MinMaxValidator

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 3.0.0.Beta29
    • None
    • Management
    • None

    Description

      If the kernel detects an attribute uses MinMaxValidator it uses the min and max to report min/max or min-length/max-length metadata, with the "-length" option used for model types where that is appropriate. So MinMaxValidator is appropriate for LIST attributes since the data will be reported correctly.

      But the primary validator for lists, ListValidator does not implement MinMaxValidator even though it stores and uses a min and max for its validation.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: