-
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
Duplicated product is out of stock when index set to UPDATE BY SCHEDULE #15939
Comments
Hi @erikhansen Which versions your tested ? |
@engcom-backlog-nazar I tested it on Magento 2.2.4. I edited the task description just now to clarify that. |
I am also facing same issue. |
@erikhansen This commit, doesn't fix the issue. |
@engcom-backlog-nazar yep, looks like #12205 does not actually fix this particular issue... apologies. Upon investigating this one further - this looks to be due to an omission in the way the stock indexer changelog is triggered on INSERT / UPDATES / DELETES... For example...
The problem would also appear to be related to "disabled" products not containing an entry in the For example — updates to the catalog_product_entity triggers
catalog_product_entity_int triggers
|
Locating the triggers in place for the Stock Index changelog can be found using the following query...
For me, this results in only the following triggers being present...
|
@matthew-muscat do you have a suggested fix for this issue? I'm currently running into this on 2.2.6 |
@sjb9774 — we changed the index mode for stock to "update on save" — which works around the issue, since it's only the "update on schedule" mode that is affected here. |
Is there any fix available for this issue? we are finding the same issue on 2.2.5 |
@engcom-backlog-nazar Do you know if there's any solution in a future version or patch that addresses this problem? I'm currently dealing with it for a client who cannot reasonably change the index mode to "update on save". |
I have the feeling this issue might have been solved by MC-19407: Number of the rows increase very fast in changelog table, but I'm not sure. Could somebody try to test this? |
✅ Jira issue https://jira.corp.magento.com/browse/AC-1046 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Hotel. Thank you for verifying the issue. |
@magento I am working on this |
@magento give me 2.4-develop instance |
Hi @Vasudev-22. Thank you for your request. I'm working on Magento instance for you. |
Hi @Vasudev-22, here is your Magento Instance: https://e13afae2824041bff69323cb5f4cd75e.instances-prod.magento-community.engineering |
Hi , This issue is not reproducible in latest version (Open Source) Attached here the video for reference, please let me know, if i missed any steps to reproduce. Products._.Inventory._.Catalog._.Magento.Admin.mp4 |
Hi @erikhansen, Thanks for your reporting and collaboration. We have verified the issue in Latest 2.4-develop instance and the issue is no more reproducible. Please feel free to reopen the issue if you are still facing any issue. Thanks. |
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: