[jboss-jira] [JBoss JIRA] (WFCORE-795) Attribute groups (and allowedValues) not inherited by further attributes.
Kabir Khan (JIRA)
issues at jboss.org
Fri Jul 3 09:30:02 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kabir Khan updated WFCORE-795:
------------------------------
Summary: Attribute groups (and allowedValues) not inherited by further attributes. (was: Attribute groups not inherited by further attributes.)
> Attribute groups (and allowedValues) not inherited by further attributes.
> -------------------------------------------------------------------------
>
> Key: WFCORE-795
> URL: https://issues.jboss.org/browse/WFCORE-795
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Darran Lofthouse
> Assignee: Kabir Khan
> Labels: affects_elytron
> Fix For: 2.0.0.Alpha6
>
>
> Take the following attribute defintion: -
> {code}
> static final SimpleAttributeDefinition PATH = new SimpleAttributeDefinitionBuilder(ElytronDescriptionConstants.PATH, ModelType.STRING, true)
> .setAllowExpression(true)
> .setMinSize(1)
> .setAttributeGroup(ElytronDescriptionConstants.FILE)
> .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
> .build();
> {code}
> If this is used as a basis for a new attribute: -
> {code}
> static final SimpleAttributeDefinition PATH =
> new SimpleAttributeDefinitionBuilder(ElytronDescriptionConstants.PATH, FileAttributeDefinitions.PATH)
> .setAttributeGroup(ElytronDescriptionConstants.FILE)
> .setAllowNull(false)
> .build();
> {code}
> The attribute group was not inherited and needed to be manually set again.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list