[
https://issues.apache.org/jira/browse/KARAF-3475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré updated KARAF-3475:
----------------------------------------
Fix Version/s: (was: 4.0.0.M3)
> No refresh of bundles during feature install
> --------------------------------------------
>
> Key: KARAF-3475
> URL: https://issues.apache.org/jira/browse/KARAF-3475
> Project: Karaf
> Issue Type: Bug
> Components: karaf-feature
> Affects Versions: 3.0.2
> Reporter: Frank Diebolt
> Assignee: Jean-Baptiste Onofré
> Fix For: 3.0.4
>
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> Hi,
> I successfully tested the fix below :
> In the source file
> <karaf-sources>features/core/src/main/java/org/apache/karaf/features/internal/BundleManager.java
> protected void refreshPackages(Collection<Bundle> bundles) {
> final Object refreshLock = new Object();
> -FrameworkWiring wiring =
> bundleContext.getBundle().adapt(FrameworkWiring.class);
> +FrameworkWiring wiring =
> bundleContext.getBundle(0).adapt(FrameworkWiring.class);
> Currently wiring is always null, FrameworkWiring can be obtained on bundle 0
> only.
> BR
> Frank
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)