Jean-Baptiste Onofré created KARAF-4468:
-------------------------------------------

             Summary: Reintroduce install and uninstall flag on 
FeaturesServiceImpl addRepository() and removeRepository() methods
                 Key: KARAF-4468
                 URL: https://issues.apache.org/jira/browse/KARAF-4468
             Project: Karaf
          Issue Type: Bug
          Components: karaf-feature
    Affects Versions: 4.0.4, 4.0.3, 4.0.2, 4.0.1, 4.0.0, 4.0.0.M3, 4.0.0.M2, 
4.0.0.M1, 4.0.5
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 4.1.0, 4.0.6


It could be considered as a regression as it works before but no more in Karaf 
4.x:

{code}
public void addRepository(URI uri, boolean install) throws Exception {
if (install) {
// TODO: implement
throw new UnsupportedOperationException();
}
...
{code}

The same happens for removeRepository where the uninstall flag is simply 
ignored.

Due to the introduction of the Features resolver in Karaf 4, we changed the 
implementation of these methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to