You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2019/03/04 17:41:00 UTC
[jira] [Created] (SLING-8303) osgi-mock: Pick highest-ranking
services for mandatory unary references if multiple services present
Stefan Seifert created SLING-8303:
-------------------------------------
Summary: 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
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)