Smile-SA / elasticsuite

Smile ElasticSuite - Magento 2 merchandising and search engine built on ElasticSearch
https://elasticsuite.io
Open Software License 3.0
762 stars 341 forks source link

Content Staging - Products assigned to a category using virtual rule do not appear in products() graphQL query result for content preview #3257

Open gnumus opened 7 months ago

gnumus commented 7 months ago

Preconditions

Magento Version : EE 2.4.6-p4 ElasticSuite Version : 2.11.2 Environment : non-prod

Steps to reproduce

  1. Have a category with products assigned using a virtual rule
  2. Schedule a change for the category using Magento's Content Staging feature (for example - category name change)
  3. Load products() query for the category with staging headers relevant to change scheduled: https://developer.adobe.com/commerce/webapi/graphql/usage/staging-queries/

Expected result Actual result

  1. No products assigned using virtual rule found in products() query result

Actual result Expected result

  1. List of products is identical to the regular products() graphql call
rbayet commented 7 months ago

Hello @gnumus,

I've edited your issue's content to swap titles "Expected result" and "Actual result". Can you confirm that it is what you meant ?

Regards,

gnumus commented 7 months ago

Hello @rbayet

Yes, you are absolutely right! Thanks for the correction!