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 2022/05/09 08:59:00 UTC
[jira] [Closed] (SLING-11280) Reference without field and method throws exception
[ https://issues.apache.org/jira/browse/SLING-11280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert closed SLING-11280.
----------------------------------
> Reference without field and method throws exception
> ---------------------------------------------------
>
> Key: SLING-11280
> URL: https://issues.apache.org/jira/browse/SLING-11280
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Affects Versions: Testing OSGi Mock 3.2.2
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: Testing OSGi Mock 3.3.0
>
>
> A reference without specifying a field or method is allowed for a DS component, however with testing mocks this will throw an exception, due to
> https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/blob/master/core/src/main/java/org/apache/sling/testing/mock/osgi/OsgiServiceUtil.java#L660
--
This message was sent by Atlassian Jira
(v8.20.7#820007)