You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "J.W. Janssen (JIRA)" <ji...@apache.org> on 2014/03/25 13:21:16 UTC
[jira] [Resolved] (FELIX-4463) DA does not consistently handle
non-unique resources
[ https://issues.apache.org/jira/browse/FELIX-4463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
J.W. Janssen resolved FELIX-4463.
---------------------------------
Resolution: Fixed
Solved in rev #1581302.
> DA does not consistently handle non-unique resources
> ----------------------------------------------------
>
> Key: FELIX-4463
> URL: https://issues.apache.org/jira/browse/FELIX-4463
> Project: Felix
> Issue Type: Bug
> Components: Deployment Admin
> Reporter: J.W. Janssen
> Assignee: J.W. Janssen
>
> When trying to install a DP containing two bundles that are not unique (= same BSN, different versions) will cause the DA to throw an exception, this is correct as resources need to be unique in context of a DP.
> However, when trying to install a DP containing two bundles that are not unique but where one of those bundles is already installed on the system does *not* cause the DA to throw an exception. This is because the DA currently assumes that the already installed bundle is present for "reference only" and ignores it during the installation, but will upgrade it once its finds the new version. So, although the DP was incorrect, the result of its installation is correct.
> The expected result is: DA should always fail when a DP contains non-unique resources.
--
This message was sent by Atlassian JIRA
(v6.2#6252)