[
https://issues.apache.org/jira/browse/FELIX-4494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Watson updated FELIX-4494:
---------------------------------
Attachment: org.apache.felix.resolver.patch
Fix to avoid wrapping osgi.identity capability and to iterate correctly over
osgi.wiring.host wires only.
> Fragment identity capabilities are incorrectly wrapped
> ------------------------------------------------------
>
> Key: FELIX-4494
> URL: https://issues.apache.org/jira/browse/FELIX-4494
> Project: Felix
> Issue Type: Bug
> Reporter: Thomas Watson
> Attachments: org.apache.felix.resolver.patch
>
>
> The osgi.identity capability is not a payload capability for a fragment. We
> must never wrap them as if they are payloads for the hosts they are attached
> to.
> The Cadidates.processCandidates method is currently wrapping all capabilities
> from a fragment. Also the Candidates code makes the incorrect assumption
> that a a fragment wiring only has required wires in the osgi.wiring.host
> namespace. This is not true since osgi.ee namespace is also not a payload
> requirement.
--
This message was sent by Atlassian JIRA
(v6.2#6252)