Keith Wire created KARAF-4356:
---------------------------------
Summary: Unable to uninstall feature that was not directly
installed
Key: KARAF-4356
URL: https://issues.apache.org/jira/browse/KARAF-4356
Project: Karaf
Issue Type: Bug
Components: karaf-feature
Affects Versions: 4.0.4
Reporter: Keith Wire
To reproduce do the following:
unzip apache-karaf-4.0.4
{code}
karaf@root()> feature:repo-add cxf 3.1.4
karaf@root()> feature:install cxf
karaf@root()> feature:uninstall cxf-transports-jms/3.1.4
{code}
The FeatureService will not attempt to uninstall `cxf-transports-jms` because
it is not in the requirements list. If that feature is installed directly
(which adds it to the requirements list), and then uninstalled, the bundles are
still not stopped. The only way to stop the bundles defined within a given
feature, is to install that feature directly, and no other features that refer
to it (ie don't install the root `cxf` feature)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)