[jboss-jira] [JBoss JIRA] (WFCORE-815) One profile can have more ancestors with same submodules

Kabir Khan (JIRA) issues at jboss.org
Mon Jul 13 03:59:02 EDT 2015


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

Kabir Khan moved JBEAP-421 to WFCORE-815:
-----------------------------------------

              Project: WildFly Core  (was: JBoss Enterprise Application Platform)
                  Key: WFCORE-815  (was: JBEAP-421)
             Workflow: GIT Pull Request workflow   (was: CDW v1)
    Affects Version/s: 2.0.0.Alpha9
                           (was: EAP 7.0.0.DR5)
          Component/s: Domain Management
                           (was: Domain Management)
       Target Release:   (was: EAP 7.0.0.GA)


> One profile can have more ancestors with same submodules
> --------------------------------------------------------
>
>                 Key: WFCORE-815
>                 URL: https://issues.jboss.org/browse/WFCORE-815
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 2.0.0.Alpha9
>            Reporter: Kabir Khan
>            Assignee: Kabir Khan
>
> *Description of problem:*
> One profile can have more ancestors with same submodules. It leads to {{WFLYCTL0212: Duplicate resource \[("subsystem" => "subsystem_name")\]}} . Hierarchical composition of profiles was added to AS with [EAP7-281|https://issues.jboss.org/browse/EAP7-281] and [WFCORE-382|https://issues.jboss.org/browse/WFCORE-382]
> *How reproducible:*
> Always
> *Steps to Reproduce:*
> # get fresh EAP
> # ./domain.sh
> # ./jboss-cli.sh -c
> # /profile=mail-01:add
> # /profile=mail-02:add
> # /profile=mail-01/subsystem=mail:add
> # /profile=mail-02/subsystem=mail:add
> # /profile=default-new:add
> # /profile=default-new:list-add(name=includes, value=mail-01)
> # /profile=default-new:list-add(name=includes, value=mail-02)
> *Actual results:*
> No errors.
> *Expected results:*
> {noformat}
> {
>     "outcome" => "failed",
>     "failure-description" => {"domain-failure-description" => "WFLYCTL0401: Profile 'mail-01' defines subsystem 'mail' which is also defined in its ancestor profile 'mail-02'. Overriding subsystems is not supported"},
>     "rolled-back" => true
> }
> {noformat}
> *Workaround:*
> Add any subsystem to default-new profile:
> # /profile=mail-01:add
> # /profile=mail-02:add
> # /profile=mail-01/subsystem=mail:add
> # /profile=mail-02/subsystem=mail:add
> # /profile=default-new:add
> # {color:green}/profile=default-new/subsystem=jdr:add{color}
> # /profile=default-new:list-add(name=includes, value=mail-01)
> # /profile=default-new:list-add(name=includes, value=mail-02)



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


More information about the jboss-jira mailing list