Closed
Description
Preconditions
- Magento 2.2.3
- PHP 7.1
- Apache
Steps to reproduce
- Install Magento 2.2.3 together with the sample data set.
- Make sure cron is run every minute (
bin/magento cron:run
). - Make sure the config setting
Use Flat Catalog Product
is set toYes
. - Make sure the flat index is up-to-date:
bin/magento index:reindex catalog_product_flat
. - Choose an enabled product in the Magento admin backend. Say its ID is
X
. - Make sure that there exists an entry in table
catalog_product_flat_1
withentity_id = X
. If not, you've done something wrong. - Now, in the Magento admin backend, disable the product.
- Wait a few minutes.
- Check whether the table
catalog_product_flat_1
still contains an entry withentity_id = X
.
Expected result
- The table
catalog_product_flat_1
should contain no entry withentity_id = X
.
Actual result
- The table
catalog_product_flat_1
contains an entry withentity_id = X
.