[jboss-jira] [JBoss JIRA] (WFCORE-4882) Correct minOccurts value for host element in XSD

Chao Wang (Jira) issues at jboss.org
Mon Apr 6 21:40:00 EDT 2020


     [ https://issues.redhat.com/browse/WFCORE-4882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chao Wang updated WFCORE-4882:
------------------------------
    Summary: Correct minOccurts value for host element in XSD  (was: Broken 'domain.xml' after migration of <host-scoped-roles> leading to 'Boostrap error' in HAL)


> Correct minOccurts value for host element in XSD
> ------------------------------------------------
>
>                 Key: WFCORE-4882
>                 URL: https://issues.redhat.com/browse/WFCORE-4882
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Management, Server
>    Affects Versions: 11.0.0.Final
>            Reporter: Chao Wang
>            Assignee: Chao Wang
>            Priority: Major
>         Attachments: Screenshot.png
>
>
> Broken 'domain.xml' after migration of <host-scoped-roles> leading to 'Boostrap error' in HAL. 
> A broken domain configuration
> {code:xml}
>            <host-scoped-roles>
>                 <role name="custom-role-name" base-role="Administrator">
>                 </role>
>             </host-scoped-roles>
> {code}
> This broken configuration doesn't bother the old HAL, so user only see the issue from HAL after the migration.
> The correct one should be:
> {code:xml}
>             <host-scoped-roles>
>                 <role name="dbaish" base-role="Administrator">
>                     <host name="master"/>
>                 </role>
>             </host-scoped-roles>
> {code}
> https://github.com/wildfly/wildfly-core/blob/11.0.0.Final/server/src/main/resources/schema/wildfly-config_9_0.xsd#L4567 show minOccurs="1", which is incorrect, the minOccurs should be 0 here.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list