Skip to content
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

Product categories not updated properly when updating products from category page #19

Open
real34 opened this issue Oct 29, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@real34
Copy link
Member

real34 commented Oct 29, 2019

There are 2 bugs when updating the product list from the related tab on a Category edition page.

To reproduce

  • Edit a category
  • Open the "Category Products" tab
  • Uncheck a product that currently is in the category
  • Save

What happens

The product is not indexed with the category removed. It still appears on the category page whereas it is not anymore part of it.

Expected

The product must not have the legacy category as part of its category nested data.
It must not appear in the category.

Related issue

The same occurs when checking a product in the "Category Products" tab from the category page. The product currently is not displayed in the category, whereas it should.

Notes

It seems to be related to a flaw in \Smile_ElasticSearch_Model_Observer::reindexCategoryAfterSave.

@real34 real34 added the bug Something isn't working label Oct 29, 2019
real34 added a commit that referenced this issue Oct 29, 2019
there are still issues detected (but which seems to be legacy issues).
#19
has been opened to handle them.

refs #7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant