You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2022/05/05 14:11:00 UTC

[jira] [Commented] (SLING-11297) The org.apache.sling.testing.mock.sling.RRMockResourceResolverWrapper should first query its providers

    [ https://issues.apache.org/jira/browse/SLING-11297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532258#comment-17532258 ] 

Radu Cotescu commented on SLING-11297:
--------------------------------------

[~sseifert], see this PR - https://github.com/apache/sling-org-apache-sling-testing-sling-mock/pull/12. I think this should fix the issue. I'll wait for your review before marking this as resolved.

> The org.apache.sling.testing.mock.sling.RRMockResourceResolverWrapper should first query its providers
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-11297
>                 URL: https://issues.apache.org/jira/browse/SLING-11297
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>    Affects Versions: Testing Sling Mock 3.2.2
>            Reporter: Radu Cotescu
>            Assignee: Radu Cotescu
>            Priority: Major
>             Fix For: Testing Sling Mock 3.3.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When working with {{ResourceProviders}} registered in the mocked OSGi framework, the {{RRMockResourceResolverWrapper}} implementation queries its bound providers only for some of the methods that perform resource retrieval operations. For the other cases it delegates to the wrapped resource resolver. However, the delegate can be agnostic when it comes to the registered {{ResourceProviders}}.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)