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 to Yes.
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 with entity_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 with entity_id = X.
Expected result
The table catalog_product_flat_1 should contain no entry with entity_id = X.
Actual result
The table catalog_product_flat_1 contains an entry with entity_id = X.
Reactions are currently unavailable
You can’t perform that action at this time.
Preconditions
Steps to reproduce
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.