karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4272) Karaf freezes when a circular dependency is introduced where a feature references itself over a chain of other features
Date Thu, 20 Oct 2016 20:20:58 GMT

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

ASF subversion and git services commented on KARAF-4272:
--------------------------------------------------------

Commit 572b3d8e67a8b81beddddf9cb6638c693e693c90 in karaf's branch refs/heads/master from [~gnt]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=572b3d8 ]

[KARAF-4271][KARAF-4272] Fix circular features / repositories

> Karaf freezes when a circular dependency is introduced where a feature references itself
over a chain of other features
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-4272
>                 URL: https://issues.apache.org/jira/browse/KARAF-4272
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 4.0.4
>            Reporter: Roland Hauser
>             Fix For: 4.1.0, 4.0.8
>
>
> Karaf freezes when a circular dependency is introduced where a features references itself
over a chain of other features
> I did some experiments with circular dependencies where a feature references itself indirectly
over some other features. In this case it does not matter if attribute {{prerequisite}} is
set or not. After command {{feature:install c-references-a}} Karaf freezes and must be restarted.
> 	
> I would expect, that the feature:install command fails with an error message like this:

> "Feature com.foo.bar could not be installed because a circular reference:
>  a-references-b
>  	b-references-c
> 		c-references-a"
> You can checkout a project which helps to reproduce the case from [https://github.com/SourcePond/reproduce-feature-circular-dependency.git]
(Maven-Modules c-references-a and c-references-a-prerequisite-true). Simply install the root-project
to have all necessary Maven dependencies.



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

Mime
View raw message