[
https://issues.apache.org/jira/browse/SLING-8303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert closed SLING-8303.
---------------------------------
> osgi-mock: Pick highest-ranking services for mandatory unary references if
> multiple services present
> ----------------------------------------------------------------------------------------------------
>
> Key: SLING-8303
> URL: https://issues.apache.org/jira/browse/SLING-8303
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Affects Versions: Testing OSGi Mock 2.4.6
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Priority: Major
> Fix For: Testing OSGi Mock 2.4.8
>
>
> currently, osgi-mock throws an exception when a mandatory unary reference
> needs to be injected but multiple service candidates are present in the
> system.
> the correct behavior following DS spec is to pick the service with the
> highest ranking.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)