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 F3A7F11147 for ; Fri, 19 Sep 2014 08:39:34 +0000 (UTC) Received: (qmail 31781 invoked by uid 500); 19 Sep 2014 08:39:34 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 31752 invoked by uid 500); 19 Sep 2014 08:39:34 -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 31739 invoked by uid 99); 19 Sep 2014 08:39:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2014 08:39:34 +0000 Date: Fri, 19 Sep 2014 08:39:34 +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-2967) No errors reported on console when repo-add fails 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-2967?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 updated KARAF-2967: ---------------------------------------- Fix Version/s: (was: 3.0.2) (was: 4.0.0) > No errors reported on console when repo-add fails > ------------------------------------------------- > > Key: KARAF-2967 > URL: https://issues.apache.org/jira/browse/KARAF-2967 > Project: Karaf > Issue Type: Bug > Affects Versions: 3.0.1 > Environment: Ubuntu 12.04, 3.2.0-61-generic x86_64 > Reporter: Olafur Egilsson > Assignee: Jean-Baptiste Onofr=C3=A9 > > Installing a feature.xml repository with "repo-add file:/path/to/feature.= xml", containing a dependency on an non-existent feature will install the f= eature without reporting errors on the console. > For example, try installing this feature from the console: > https://raw.githubusercontent.com/hibernate/hibernate-orm/9e5ba931fb59caf= 4aec8e7bba8d33c3f0a23e9dc/documentation/src/main/docbook/quickstart/tutoria= ls/osgi/managed-jpa/features.xml > Feature gets installed, but no errors printed on the console. > Error does get logged: > ERROR | Local user karaf | ShellUtil | 37 - org.ap= ache.karaf.shell.console - 3.0.1 | Exception caught while executing > command > java.lang.Exception: No feature named 'karaf-framework' with version '0.0= .0' available > Expected behaviour: > At least a error message on the console stating that there was an error i= nstalling the feature repository, ideally containing the actual error on wh= at went wrong. -- This message was sent by Atlassian JIRA (v6.3.4#6332)