References showing zero in properties of an asset in aem
I am encountering a strange issue in AEM. We have multiple projects (representing different domains) on a single instance, each with its own separate codebase.
The problem is that the references for an asset are updated correctly when the page belongs to a particular project (lets say A). However, if I use the same asset on a page from a different project (lets say B), the reference does not get updated, and in the asset properties, it shows 0 references. I am using AEM SP 17.
What I tried:
1. Either I deploy project A or B, the problem remains there. In both scenarios references are updated only if the asset is used in project A.
2. No browser console errors are there when I open the asset > properties > references after using it on a page in project B.
3. No errors in error.log (on clicking references tab)
I have already gone through these threads:
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/asset-properties-references-is-empty-in-aem-6-5-20/m-p/688081
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/reference-pages-showing-empty-from-aem-assets-while-selecting/m-p/634249
If there is any config or workflow responsible for the same, please let me know.
I am using ReferenceSearch of AEM, due to this...it is not working properly and shows 0 references even if the asset is used on a page in project B.
