magento / catalog-storefront

Open Software License 3.0
7 stars 18 forks source link

Reindex relevant product export data feed items when attribute is updated #193

Open bricht opened 4 years ago

bricht commented 4 years ago

Description (*)

In vanilla magento attribute option labels are not stored in index, so there is not such functionality available in vanilla.

Preconditions (*)

We need to run \Magento\CatalogDataExporter\Model\Indexer\ProductFeedIndexer::executeList or executeRow on relevant products if a label is changed for any of the attributes which these products contain under options/variants.

Steps to reproduce (*)

1. Save a configurable product and have the data propagated to data feed storage.
2. Update attribute labels in the backend.

Expected result (*)

Product feed should be reindexed and new labels should appear in the storefront for all the products that contain the updated attributes.

Additional notes (*)

\Magento\GraphQl\ConfigurableProduct\ConfigurableProductFrontendLabelAttributeTest::testGetFrontendLabelAttribute test should be green after removing catalogStorefrontCe/dev/tests/api-functional/testsuite/Magento/GraphQl/_files/overrides.xml

m2-assistant[bot] commented 4 years ago

Hi @bricht. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


mslabko commented 4 years ago

Waiting for reponse from PO (M. Chernenko)