Details

    • Steps to Reproduce:
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Add the missing nested <host> element manually in the domain.xml of the target.

      Show
      Add the missing nested <host> element manually in the domain.xml of the target.

      Description

      Broken 'domain.xml' after migration of <host-scoped-roles> leading to 'Boostrap error' in HAL.

      A broken domain configuration

                 <host-scoped-roles>
                      <role name="custom-role-name" base-role="Administrator">
                      </role>
                  </host-scoped-roles>
      

      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:

                  <host-scoped-roles>
                      <role name="dbaish" base-role="Administrator">
                          <host name="master"/>
                      </role>
                  </host-scoped-roles>
      

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  soul2zimate Chao Wang
                  Reporter:
                  soul2zimate Chao Wang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: