Skip to content

Disabling product does not remove it from the flat index #14966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ktruehl opened this issue May 3, 2018 · 2 comments
Closed

Disabling product does not remove it from the flat index #14966

ktruehl opened this issue May 3, 2018 · 2 comments
Assignees
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed

Comments

@ktruehl
Copy link

ktruehl commented May 3, 2018

Preconditions

  1. Magento 2.2.3
  2. PHP 7.1
  3. Apache

Steps to reproduce

  1. Install Magento 2.2.3 together with the sample data set.
  2. Make sure cron is run every minute (bin/magento cron:run).
  3. Make sure the config setting Use Flat Catalog Product is set to Yes.
  4. Make sure the flat index is up-to-date: bin/magento index:reindex catalog_product_flat.
  5. Choose an enabled product in the Magento admin backend. Say its ID is X.
  6. Make sure that there exists an entry in table catalog_product_flat_1 with entity_id = X. If not, you've done something wrong.
  7. Now, in the Magento admin backend, disable the product.
  8. Wait a few minutes.
  9. Check whether the table catalog_product_flat_1 still contains an entry with entity_id = X.

Expected result

  1. The table catalog_product_flat_1 should contain no entry with entity_id = X.

Actual result

  1. The table catalog_product_flat_1 contains an entry with entity_id = X.
@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label May 3, 2018
@lewisvoncken lewisvoncken self-assigned this May 5, 2018
lewisvoncken added a commit that referenced this issue May 5, 2018
@VladimirZaets
Copy link
Contributor

Hi @ktruehl. Thank you for your report.
The issue has been fixed in #15019 by @lewisvoncken in 2.2-develop branch
Related commit(s):

The fix will be available with the upcoming 2.2.6 release.

@VladimirZaets VladimirZaets added the Fixed in 2.2.x The issue has been fixed in 2.2 release line label Jun 7, 2018
magento-engcom-team added a commit that referenced this issue Jun 7, 2018
…emove it from… #15019

 - Merge Pull Request #15019 from magento/magento2:experius-2.2-patch-issue-14966
 - Merged commits:
   1. 0d35081
   2. c6196d7
   3. 2d6fb62
   4. 38bd9d3
   5. 219024c
gelanivishal pushed a commit to gelanivishal/magento2 that referenced this issue Jul 13, 2018
@ishakhsuvarov ishakhsuvarov added the Fixed in 2.3.x The issue has been fixed in 2.3 release line label Sep 12, 2018
@ishakhsuvarov
Copy link
Contributor

magento-engcom-team added a commit that referenced this issue Sep 12, 2018
…uct does not remove it from #16791

 - Merge Pull Request #16791 from gelanivishal/magento2:2.3-develop-PR-port-15019
 - Merged commits:
   1. 68b6e67
   2. 673a935
   3. 80fbc9e
   4. 13595a3
   5. 8c83881
   6. 92c1b10
   7. eadb6b7
magento-engcom-team pushed a commit that referenced this issue Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed
Projects
None yet
Development

No branches or pull requests

5 participants