[jboss-jira] [JBoss JIRA] (WFCORE-703) An ObjectTypeAttributeDefinition should recursively handle a resolveModelAttribute call.

Darran Lofthouse (JIRA) issues at jboss.org
Wed May 20 05:04:19 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069484#comment-13069484 ] 

Darran Lofthouse commented on WFCORE-703:
-----------------------------------------

Where we have behaviour differences maybe we can take advantage of the Builders somehow to create either a legacy mode or current mode to leave existing code as-is.  The problem we have now is that we can no longer rely on tracking all subsystems that use these types.

On a slightly related point the ObjectTypeAttributeDefinition also does not have a builder that builds on a previously defined type.

> An ObjectTypeAttributeDefinition should recursively handle a resolveModelAttribute call.
> ----------------------------------------------------------------------------------------
>
>                 Key: WFCORE-703
>                 URL: https://issues.jboss.org/browse/WFCORE-703
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: Domain Management
>            Reporter: Darran Lofthouse
>            Assignee: Brian Stansberry
>              Labels: affects_elytron
>             Fix For: 2.0.0.Alpha3
>
>
> Expressions will be handled recursively but the default values for the contained AttributeDefinitions should also be recursively handled so that the returned ModelNode is fully populated with both resolved expressions and default values.
> Other variants of attributes such as the lists and maps should also be double checked to ensure they are recursive.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list