You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Karl Rieb (JIRA)" <ji...@apache.org> on 2013/10/22 15:02:43 UTC

[jira] [Commented] (FELIX-3097) LocalRepository is not updated when bundles are

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

Karl Rieb commented on FELIX-3097:
----------------------------------

Is there a recommended work-around for this issue?  It is mainly affecting our use of Resolver.getRequiredResources().  The current implementation of Resolver.resolve() will remove all bundles in the local repository from the required set.  However, due to this bug, the local repository never gets updated to reflect currently installed bundles, so the required set always contains the remote versions of the bundles.  This results in Resolver.getRequiredResources() returning resources that are already installed and deployed on the local system.

> LocalRepository is not updated when bundles are
> -----------------------------------------------
>
>                 Key: FELIX-3097
>                 URL: https://issues.apache.org/jira/browse/FELIX-3097
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-1.6.6
>            Reporter: John Keeping
>
> The local repository should contain resources for currently installed bundles but these can be out of date if a bundle is updated because the listener only responds to INSTALLED and UNINSTALLED bundle events.  It should also handle UPDATED events.



--
This message was sent by Atlassian JIRA
(v6.1#6144)