Closed
Description
Preconditions (*)
- Magento 2.1.4 EE (and looking at the code I can see the same in 2.2.4 CE + 2.3.x dev CE)
- Magento catalogsearch_fulltext indexer set to update by schedule
Steps to reproduce (*)
- Create custom indexer and mview on cataloginventory_stock_item with entity_column="item_id" instead of product_id used in catalogsearch_fulltext and set it to update by schedule
<view id="custom_stock_indexer" class="Acquia\CommerceManager\Model\Indexer\Stock" group="indexer">
<subscriptions>
<table name="cataloginventory_stock_item" entity_column="item_id" />
</subscriptions>
</view>
Expected result (*)
- Trigger should use item_id for custom indexer and product_id for catalogsearch_fulltext
Actual result (*)
- Trigger uses column name from the indexer last set to "update by schedule" (as per the steps to reproduce above it uses item_id for both)
Metadata
Metadata
Assignees
Labels
Gate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentA defect with this priority could have functionality issues which are not to expectations.The issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 releaseAffects non-critical data or functionality and does not force users to employ a workaround.Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Type
Projects
Status
Done