We are facing an issue where few of our components are not appearing which we are exposing through OData.
When I hit the below query:
http://www-server.com/cd_webservice/odata.svc/ComponentPresentations?$filter=(TemplateId eq 111) and (PublicationId eq 22) and (ComponentId eq 555)
I get the expected output, whereas when I hit the below query:
http://www-server.com/cd_webservice/odata.svc/ComponentPresentations?$filter=(TemplateId eq 111) and (PublicationId eq 22)
I got results with many Components but the component "555" was missing from it which is weird.
I tried unpublishing the component (say "444") from the given results and refreshed the page & the component "444" disappeared from the results so it's clear that the query is not being cached.
On republishing the component "444", it starts appearing in the results whereas when I created the copy of the same component say "444-Copy" and published, it was missing from the OData response.
Not sure what could be the reason for this behavior, any help would be highly appreciated.
Thanks a lot in advance.