[ 
https://issues.apache.org/jira/browse/KARAF-4083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15083288#comment-15083288
 ] 

Jean-Baptiste Onofré commented on KARAF-4083:
---------------------------------------------

For use case 2, feature commands are also useless. For instance, a simple 
feature:list fails:

{code}
karaf@root()> feature:list
Error executing command: Unable to load mvn:test/child/1.0/xml/features : 
mvn:test/child/1.0/xml/features
{code}

Actually, both use cases are fixed by the same change (in the 
FeaturesServiceImpl#getFeatures() method). I'm testing the fix now.

> 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)

Reply via email to