karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-2967) No errors reported on console when repo-add fails
Date Fri, 19 Sep 2014 08:39:34 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré 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é
>
> Installing a feature.xml repository with "repo-add file:/path/to/feature.xml", containing
a dependency on an non-existent feature will install the feature without reporting errors
on the console.
> For example, try installing this feature from the console:
> https://raw.githubusercontent.com/hibernate/hibernate-orm/9e5ba931fb59caf4aec8e7bba8d33c3f0a23e9dc/documentation/src/main/docbook/quickstart/tutorials/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.apache.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 installing the
feature repository, ideally containing the actual error on what went wrong.



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

Mime
View raw message