-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 stock status change does not purge product varnish cache #39056
Comments
Hi @zakdma. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hello @zakdma |
Hi @engcom-Delta. Thank you for working on this issue.
|
Hi @zakdma , Thanks for your reporting and collaboration. Steps to Reproduce Thanks. |
Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Once all required labels are present, please add |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-12879 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Bravo. Thank you for verifying the issue. |
Preconditions and environment
Steps to reproduce
Expected result
Product became "Out of Stock" on the front page
Actual result
Product is still "In Stock" on the front page
Additional information
The problem is that Stock indexer does not reset FPC for product (tag: cat_p_) when reindexed
See stock indexer implementation
https://github.com/magento/magento2/blame/2.4-develop/app/code/Magento/CatalogInventory/Model/Indexer/Stock.php#L84
and compare it with the Price indexer
https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Catalog/Model/Indexer/Product/Price.php#L96
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: