J.W. Janssen created FELIX-4463:
-----------------------------------
Summary: 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)