[jboss-jira] [JBoss JIRA] (WFCORE-808) Removing a resource should always remove all children

Brian Stansberry (JIRA) issues at jboss.org
Sat Jul 11 20:20:02 EDT 2015


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

Brian Stansberry updated WFCORE-808:
------------------------------------
    Git Pull Request: https://github.com/wildfly/wildfly-core/pull/880


> Removing a resource should always remove all children
> -----------------------------------------------------
>
>                 Key: WFCORE-808
>                 URL: https://issues.jboss.org/browse/WFCORE-808
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>
> Invoking a remove op on a resource should always result in all child resources being properly removed. 
> 1) Currently some resources reject a remove if children still exist. This behavior should be forbidden.
> 2) AbstractRemoveStepHandler should recursively remove children by adding steps invoking the remove op for them. This will ensure whatever MSC or capability registry changes the remove op handler for the children would normally make happen.
> A driver for this is the new features related to cloning profiles and including profiles in other profiles. These increase the likelihood that users will wish to remove profiles, and to make that practical there needs proper recursive removal.



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


More information about the jboss-jira mailing list