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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Apr 10 16:46:55 EDT 2013


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

Brian Stansberry updated AS7-6138:
----------------------------------

    Fix Version/s: 9.0.0.CR1
                       (was: 8.0.0.Alpha1)

    
> "Cast" model nodes in AttributeDefinition validateOperation()
> -------------------------------------------------------------
>
>                 Key: AS7-6138
>                 URL: https://issues.jboss.org/browse/AS7-6138
>             Project: Application Server 7
>          Issue Type: Task
>          Components: Domain Management
>    Affects Versions: 7.1.3.Final (EAP)
>            Reporter: Brian Stansberry
>             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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list