You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2016/04/04 16:58:25 UTC

[jira] [Created] (KARAF-4468) Reintroduce install and uninstall flag on FeaturesServiceImpl addRepository() and removeRepository() methods

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)