karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Taeschner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4116) Feature Installation - no Refresh of Fragment-Host bundle upon installation of fragment bundle
Date Wed, 06 Jan 2016 13:28:40 GMT

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

Michael Taeschner commented on KARAF-4116:
------------------------------------------

Added "feature" dependency to "blueprint-log" feature to ensure bundles in the feature-tree
are looked at for refresh but issue remains. This is to correctly show the issue at hand.

My current dirty workaround is to reference the host bundle as dependency in the fragment
bundle feature, as shown below. But in my opinion this is duplicate effort.
{noformat}
<feature name="blueprint-log" version="1.0.0" install="false">
	<feature>log</feature>
	<bundle>mvn:org.example.osgi/consoleLog-blueprint/1.0.0-SNAPSHOT</bundle>
</feature>
{noformat}

> Feature Installation - no Refresh of Fragment-Host bundle upon installation of fragment
bundle
> ----------------------------------------------------------------------------------------------
>
>                 Key: KARAF-4116
>                 URL: https://issues.apache.org/jira/browse/KARAF-4116
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 3.0.4, 3.0.5
>            Reporter: Michael Taeschner
>         Attachments: features.xml, local-repo.zip
>
>
> There is a regression in feature installation behavior whereas later installation of
a feature which contains a fragment bundle and references a feature providing the fragment-host
bundle the fragment-host is not refreshed after feature install, causing the fragment to remain
in state "INSTALLED". Manual "refresh" of host-fragment bundle will resolve the relationship
and put framgnent into "RESOLVED" state with host:<host-fragment bundle-id>



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

Mime
View raw message