You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2014/04/24 21:49:27 UTC

[jira] [Resolved] (FELIX-4494) Fragment identity capabilities are incorrectly wrapped

     [ https://issues.apache.org/jira/browse/FELIX-4494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall resolved FELIX-4494.
------------------------------------

    Resolution: Fixed
      Assignee: Richard S. Hall

I've applied the patch, please close if satisfied. Thanks.

> Fragment identity capabilities are incorrectly wrapped
> ------------------------------------------------------
>
>                 Key: FELIX-4494
>                 URL: https://issues.apache.org/jira/browse/FELIX-4494
>             Project: Felix
>          Issue Type: Bug
>    Affects Versions: resolver-1.0.0
>            Reporter: Thomas Watson
>            Assignee: Richard S. Hall
>             Fix For: resolver-1.2.0
>
>         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)