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 2021/03/20 08:29:00 UTC
[jira] [Resolved] (SLING-10244) osgi-mock: Only inject services
with direct match of registered interface
[ https://issues.apache.org/jira/browse/SLING-10244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert resolved SLING-10244.
------------------------------------
Resolution: Fixed
https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/commit/3a8c2d86e8cc747bf9901be717f24fa85d0d534e
> osgi-mock: Only inject services with direct match of registered interface
> -------------------------------------------------------------------------
>
> Key: SLING-10244
> URL: https://issues.apache.org/jira/browse/SLING-10244
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Affects Versions: Testing OSGi Mock 3.1.0
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Priority: Major
> Fix For: Testing OSGi Mock 3.1.2
>
>
> SLING-10195 introduced a bug in osgi-mock, injecting services into a reference that were registered to an interface extending the requested interface. the interface the service is registered to and the interface of the reference have to match directly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)