[Forwardport] [TASK] Solve issue #14966 - Disabling product does not remove it from#16791
Conversation
…it from the flat index
- Suppresses coupling warning in unit test
|
Hi @gelanivishal. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
|
Hi @gelanivishal , we found that with provided implementation one integration test is failing. Please, take a look at |
|
@sidolov Please check now. |
|
Hi @gelanivishal , there are no fixes to |
|
@sidolov Now travis didn't throw any error. |
…uct does not remove it from #16791
|
Hi @gelanivishal. Thank you for your contribution. |
… the flat index
Description
When you disable a product it should be removed from the flat table
Fixed Issues (if relevant)
Manual testing scenarios
bin/magento cron:run).Use Flat Catalog Productis set toYes.bin/magento index:reindex catalog_product_flat.X.catalog_product_flat_1withentity_id = X. If not, you've done something wrong.catalog_product_flat_1still contains an entry withentity_id = X.Expected result
catalog_product_flat_1should contain no entry withentity_id = X.Actual result
catalog_product_flat_1contains an entry withentity_id = X.Contribution checklist
Original PR
#15019