[jboss-jira] [JBoss JIRA] (WFCORE-796) One profile can have more ancestors with same submodules
Kabir Khan (JIRA)
issues at jboss.org
Mon Jul 13 08:56:03 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kabir Khan closed WFCORE-796.
-----------------------------
Resolution: Duplicate Issue
I did not notice that this had already been cloned, so I cloned this to https://issues.jboss.org/browse/WFCORE-815 and did the work against that.
> One profile can have more ancestors with same submodules
> --------------------------------------------------------
>
> Key: WFCORE-796
> URL: https://issues.jboss.org/browse/WFCORE-796
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 2.0.0.Alpha6
> Reporter: Marek Kopecký
> 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 WildFly
> # ./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