[ https://issues.apache.org/jira/browse/KARAF-4083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15083362#comment-15083362 ]
ASF subversion and git services commented on KARAF-4083: -------------------------------------------------------- Commit 843909a8915e2c4ba541c8725445b19926ee7ab6 in karaf's branch refs/heads/master from [~jbonofre] [ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=843909a ] KARAF-4031 - Avoid to block boot features when a repository can't be loaded KARAF-4083 - Avoid to break features service when a repository can't be loaded > Reference to the invalid repository in feature file breaks commands > ------------------------------------------------------------------- > > Key: KARAF-4083 > URL: https://issues.apache.org/jira/browse/KARAF-4083 > Project: Karaf > Issue Type: Bug > Components: karaf-feature > Affects Versions: 4.0.2 > Reporter: Alexander Osadchiy > Assignee: Jean-Baptiste Onofré > Priority: Critical > Fix For: 4.0.4 > > > Feature commands don't work after registering feature repository with > reference to the invalid repository. > There is a feature repository "parent-1.0-features.xml" with reference to the > invalid repository "child-1.0-features.xml" (e.g. with broken xml structure). > When I add parent repo via command: > karaf@root()> feature:repo-add mvn:parent/1.0/xml/features > Command will add parent repo and child repo, but after this feature:* > commands will not work at all, with exception like this: > karaf@root()> feature:repo-list > Error executing command: Unable to load mvn:child/1.0/xml/features : > mvn:child/1.0/xml/features > This child repository can't be removed using feature:repo-remove and that > leads to unusable container. -- This message was sent by Atlassian JIRA (v6.3.4#6332)