[jboss-jira] [JBoss JIRA] (WFCORE-3091) ListValidator should implement MinMaxValidator

Brian Stansberry (JIRA) issues at jboss.org
Sat Jul 22 10:44:00 EDT 2017


Brian Stansberry created WFCORE-3091:
----------------------------------------

             Summary: ListValidator should implement MinMaxValidator
                 Key: WFCORE-3091
                 URL: https://issues.jboss.org/browse/WFCORE-3091
             Project: WildFly Core
          Issue Type: Enhancement
          Components: Domain Management
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry


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.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list