[jboss-jira] [JBoss JIRA] (WFCORE-1962) Deprecate ParameterValidator.validateResolvedParameter, try and get rid of uses of it

Kabir Khan (JIRA) issues at jboss.org
Tue Feb 14 15:57:08 EST 2017


     [ https://issues.jboss.org/browse/WFCORE-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kabir Khan updated WFCORE-1962:
-------------------------------
    Fix Version/s: 3.0.0.Beta2
                       (was: 3.0.0.Beta1)


> Deprecate ParameterValidator.validateResolvedParameter, try and get rid of uses of it
> -------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1962
>                 URL: https://issues.jboss.org/browse/WFCORE-1962
>             Project: WildFly Core
>          Issue Type: Task
>          Components: Domain Management
>            Reporter: Brian Stansberry
>             Fix For: 3.0.0.Beta2
>
>
> The ParameterValidator.validateResolvedParameter method specifies the impl should call ModelNode.resolve() and then validate that. This is a broken contract as ModelNode.resolve() is not the expression resolution mechanism of WildFly.
> This code is only used in a few places. The normal way resolution + validation happens is outside code (e.g. AttributeDefinition) resolves the value and then calls the normal ParameterValidator.validateParameter method.
> So, task here is to look into the few uses of this method in core and full, determine they can be changed to no longer use it, change them, then deprecate this method.



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


More information about the jboss-jira mailing list