You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2022/04/26 12:33:00 UTC
[jira] [Resolved] (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 ]
Carsten Ziegeler resolved SLING-11280.
--------------------------------------
Resolution: Fixed
Fixed by removing the check in https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/commit/4b7a41509a667a3f415665ea0ec357a055fa65e7
> 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.2.4
>
>
> 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)