-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: CatalogInventoryComponent: IndexerFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedPartner: AYKO
Description
Preconditions (*)
Magento 2.x
Steps to reproduce (*)
- Ensure that display out of stock products option is disabled
php bin/magento indexer:reindex catalog_product_price
php bin/magento cron:run --group=index
You'll see because of the lack of a where using $entityIds
in https://github.com/magento/magento2/blob/2.3-develop/app/code/Magento/CatalogInventory/Model/Indexer/ProductPriceIndexFilter.php#L87 its executing a the delete for every product every time this method is called.
Expected result (*)
To only delete products which are not in stock filtered by $entityIds
supplied.
Actual result (*)
Deletes every product which are not in stock as not where filter implimented.
Metadata
Metadata
Assignees
Labels
Component: CatalogInventoryComponent: IndexerFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedPartner: AYKO