I have a Sitecore 8 project where we have created a component for the editors to use. On that editor we used product detail where image carousel is being used to display images.
An image carousel takes Datasource from all underneath items like below.
The tree looks like this:
Sitecore Content Product Product Item Content Product Carousel Content Carousel Image 1 Carousel Image 2 Carousel Image 3
Whenever I am publishing the same item, product details are coming properly. However Product Carousel Content are not coming. Whereas it is working fine in staging site.
In the Experience Editor the user can edit the Datasource Item's fields, i.e. he can edit text, general link field of this Item. However for Product Carousel I see the error
Datasource must be set to Product Carousel Content.
datasource for product carousel is query:./_content/Product Details Carousel
However when I set data-source to item directly like below it will display the product images
/sitecore/content/Product/Website/Home/ProductItem/Content/Product Details Carousel
This is happening for few other items on page and I am not sure if there is some issue with publishing or Sitecore query.
Is that a Sitecore bug or something I am missing? Hope I can get some help from you.