You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2009/06/23 11:42:07 UTC

[jira] Created: (FELIX-1270) Displaying the bundle detail view resolves a bundle

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
             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.


[jira] Assigned: (FELIX-1270) Displaying the bundle detail view resolves a bundle

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reassigned FELIX-1270:
----------------------------------------

    Assignee: Felix Meschberger

> 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.


[jira] Work started: (FELIX-1270) Displaying the bundle detail view resolves a bundle

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on FELIX-1270 started by Felix Meschberger.

> 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.


[jira] Resolved: (FELIX-1270) Displaying the bundle detail view resolves a bundle

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ 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.