[jboss-jira] [JBoss JIRA] (WFLY-572) "Cast" model nodes in AttributeDefinition validateOperation()

Brian Stansberry (JIRA) issues at jboss.org
Wed Jun 25 12:15:27 EDT 2014


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

Brian Stansberry reassigned WFLY-572:
-------------------------------------

    Assignee: Emmanuel Hugonnet


> "Cast" model nodes in AttributeDefinition validateOperation()
> -------------------------------------------------------------
>
>                 Key: WFLY-572
>                 URL: https://issues.jboss.org/browse/WFLY-572
>             Project: WildFly
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management
>    Affects Versions: 8.0.0.Alpha1
>            Reporter: Brian Stansberry
>            Assignee: Emmanuel Hugonnet
>             Fix For: 9.0.0.CR1
>
>
> If the ModelType of a node in an operation does not match the defined type for the model, but is properly convertible, convert it so we store the expected type in the model.
> For example, if someone passed in ModelType.LONG or ModelType.BIG_INTEGER but the model stores INT, store an INT.
> This can be done after the validator for the AD has been invoked. The validator will have ensured that the "cast" is correct.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list