Resource Resolver returns an additional Resource in AEM 6.1
I am trying to find the resources using Resource Resolver. Below is the sample code which I am using. I am getting the Resolver from the the request.
Iterator<Resource> resources = resourceResolver.findResources(query, Query.JCR_SQL2);
The above code returns the additional resource called com.adobe.cq.social.datastore.jcr.impl.SocialResourceWrapper in additional to the expected one.
Please suggest how to resolve this.
This issue occurs when we try to migrate from AEM 6.0 to 6.1. Same code works fine in AEM 6.0