AEM 6.5 Query Builder or CRX Query Tool not returning results for local environments
I am experiencing a weird issue, for some pieces of the content in some of our author local development environments we are getting no results for the queries.
Exactly the same queries are returning valid results in other local development environments and in DEV and STAGE ones as well.
My first guess is that it could a permissions issue, but locally we are using the admin user which should have full permissions over all the nodes.
The following is part of the query in XPATH version, it is not a complex query:
/jcr:root/[content_path]/jcr:content//*[(@sling:resourceType = '[component_resource_type]')]
I even tried creating content packages from the environments where it is working fine and installing in my local environment without luck.
I would focus on debugging the code further(despite I already did without luck) but the fact that it does not return any result in the CRX query tool neither, indicates me the problem should not be in the code.
Also I already reviewd the query plans and there is not difference between it in a working environment and my local environment.
Also I tried an offline reindex with the oak tool and nothing changed.
Has anyone experienced something like that?


