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

Felix Meschberger resolved FELIX-1270.
--------------------------------------

    Resolution: Fixed

When showing the details of an unresolved bundle, the imports are best-effort 
matched agains the contents of the bundle. This uses the Bundle.getResource 
method which uses the bundle's class loader and therefore causes the bundle to 
be resolved (if possible...).

In this case we must use the Bundle.getEntry method for this check, because we 
don't want the bundle to resolve and we need to the bundle contents only anyway.

Fixed in Rev. 812179.

> Displaying the bundle detail view resolves a bundle
> ---------------------------------------------------
>
>                 Key: FELIX-1270
>                 URL: https://issues.apache.org/jira/browse/FELIX-1270
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-1.2.10
>            Reporter: Carsten Ziegeler
>            Assignee: Felix Meschberger
>             Fix For: webconsole-1.2.12
>
>
> If a bundle is installed, viewing the detail view causes the bundle to be 
> resolved (if possible of course). It seems that one of the calls required for 
> displaying the details causes this side effect.
> Displaying details should not have any side effects.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to