Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B094190DC for ; Thu, 31 Mar 2016 16:01:26 +0000 (UTC) Received: (qmail 3825 invoked by uid 500); 31 Mar 2016 16:01:26 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 3789 invoked by uid 500); 31 Mar 2016 16:01:25 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 3636 invoked by uid 99); 31 Mar 2016 16:01:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Mar 2016 16:01:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AE9852C14FB for ; Thu, 31 Mar 2016 16:01:25 +0000 (UTC) Date: Thu, 31 Mar 2016 16:01:25 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KARAF-4272) Karaf freezes when a circular dependency is introduced where a feature references itself over a chain of other features MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-4272?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 updated KARAF-4272: ---------------------------------------- Fix Version/s: 4.0.6 4.1.0 > Karaf freezes when a circular dependency is introduced where a feature re= ferences 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.6 > > > Karaf freezes when a circular dependency is introduced where a features r= eferences itself over a chain of other features > I did some experiments with circular dependencies where a feature referen= ces itself indirectly over some other features. In this case it does not ma= tter if attribute {{prerequisite}} is set or not. After command {{feature:i= nstall c-references-a}} Karaf freezes and must be restarted. > =09 > I would expect, that the feature:install command fails with an error mess= age like this:=20 > "Feature com.foo.bar could not be installed because a circular reference: > a-references-b > =09b-references-c > =09=09c-references-a" > You can checkout a project which helps to reproduce the case from [https:= //github.com/SourcePond/reproduce-feature-circular-dependency.git] (Maven-M= odules 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)