[jboss-jira] [JBoss JIRA] (AS7-6138) "Cast" model nodes in AttributeDefinition validateOperation()
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Tue Dec 11 13:37:17 EST 2012
Brian Stansberry created AS7-6138:
-------------------------------------
Summary: "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
Assignee: Brian Stansberry
Fix For: 7.3.0.Alpha1
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