-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Products added to a category are not shown at the frontend. #19417
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
Comments
Hi @addinm. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @addinm do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-backlog-andrii. Thank you for working on this issue.
|
I was reading the unpublished release notes for Magento 2.2.7 yesterday, and they seem to mention a fix in there which sound very similar to this bug report:
Maybe best to re-test your bug when Magento 2.2.7 gets released tomorrow? |
@engcom-backlog-andrii Thank you for verifying the issue. Based on the provided information internal tickets |
@hostep Thank you for the information, I'll re-check this on 2.2.7 tomorrow. |
@addinm any news it still reproducible? |
@larsroettig Yes, the issue still exists. |
Hi @maheshWebkul721. Thank you for working on this issue.
|
Hi @ravi-chandra3197. Thank you for working on this issue.
|
@magento-engcom-team give me 2.2-develop instance |
Hi @ravi-chandra3197. Thank you for your request. I'm working on Magento 2.2-develop instance for you |
Hi @ravi-chandra3197, here is your Magento instance. |
Hello @magento-engcom-team, @addinm |
@ravi-chandra3197 then the Reproduced in 2.2.x label should be removed |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hello @addinm Thank you for contribution and collaboration! We are not able to reproduce this issue on the lates We are closing this issue due to branch If you still faced this issue on |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
The problem
It looks like the category uses the information from the 'catalogsearch_fulltext' index because running magento indexer:reindex catalogsearch_fulltext solves the issue.
The solution
The solution is simple: track changes in the "catalog_category_product" table and update the "catalogsearch_fulltext_cl" changelog table.
This can be done by adding an additional subscriber:
<table name="catalog_category_product" entity_column="product_id" />
to the vendor/magento/module-catalog-search/etc/mview.xml file.
So the updated file should look this way:
The text was updated successfully, but these errors were encountered: