-
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
Swatches no longer crossed out after indexes invalidated and reindexed #34127
Comments
Hi @dphilipps. 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:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento give me 2.4-develop instance |
Hi @dphilipps. Thank you for your request. I'm working on Magento instance for you. |
Hi @dphilipps, here is your Magento Instance: https://ae0892b768f181e60e39f1641a5f6a49-2-4-develop.instances.magento-community.engineering |
Occasionally the sold-out product is not initially crossed-out after placing an order as expected. There is another ticket open which covers this #33799 however I assume it is actually a manifestation of the issue described in this ticket and caused by indexing and the inconsistency down to the timing of the index update after purchase (only a guess though). |
I have verified the reproduction steps with the above instance. |
Hi @engcom-November. Thank you for working on this issue.
|
Verified the issue on Magento 2.4-develop branch and the behavior is different: Steps performed:
|
It looks as though you didn't complete steps 1 & 2 according to your write up?
The challenge with this issue is that there seems to possibly be a different bug which is preventing the swatch being crossed out initially (after purchasing all). This bug (the state of the swatch reverting) obviously cannot be reproduced without the swatch first being crossed out. Can I kindly ask, when after the indexers are changed to scheduled (1 & 2 above), if a swatch is not crossed out, please purchase another option (buying all stock, typically 100 items) and try again. If often works on subsequent attempts. Once the crossed out swatch has been obtained, then my steps 7 onwards can be followed to reproduce the issue. |
@magento give me 2.4-develop instance |
Hi @dphilipps. Thank you for your request. I'm working on Magento instance for you. |
Hi @dphilipps, here is your Magento Instance: https://ae0892b768f181e60e39f1641a5f6a49-2-4-develop.instances.magento-community.engineering |
Hi @engcom-November Following my steps from 7 then reproduced the issue successfully. PLEASE NOTE After the indexes have been invalidated, you must wait for cron to run again and reindex before going back to check the status of the swatch -hence checking the timestamps. I note you followed slightly different steps to me. I recommend following my steps exactly and purchasing the demo products, this will also save time over creating a configurable. Many thanks |
@magento give me 2.4-develop instance |
Hi @engcom-November. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-November, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later. |
Verified the issue on Magento 2.4-develop branch and the issue is reproducible with below Steps performed: Confirming this issue for Issue 1 mentioned here and inconsistent behavior while adding out of stock product to cart if the swatch is not crossed out. |
Thanks for the video - you are following the right steps. The one difference is the environment. I see you are working on a local instance, but have you tried the steps using a 2.4-develop instance here? That is what I am using to reproduce the problem and it works every time. Could you try that and let me know how you get on please? |
@magento give me 2.4-develop instance |
Hi @dphilipps. Thank you for your request. I'm working on Magento instance for you. |
Hi @dphilipps, here is your Magento Instance: https://ae0892b768f181e60e39f1641a5f6a49-2-4-develop.instances.magento-community.engineering |
Hi @engcom-November https://www.loom.com/share/70c277bc1521477cb09c0c91d5a68231 Please let me know if any questions Thanks |
@magento give me 2.4-develop instance |
Hi @engcom-November. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-November, here is your Magento Instance: https://ae0892b768f181e60e39f1641a5f6a49-2-4-develop.instances.magento-community.engineering |
Hi @engcom-November |
@engcom-November Why does this issue still have a 'needs update' label whilst it is already 'in development' in High Priority Backlog? Just checking nothing further is needed from me? |
@engcom-Alfa This issue occurs when a manual reindex is done, or indexes invalidated via admin, causing a reindex. This reverts/resets the salabililty data which is set by the inventory.reservations.updateSalabilityStatus consumer when a product sells out. The related bug #33799 describes how the product is not being crossed out (becoming unsalable) immediately after placing an order when a product comes sold out. This bug (34127) manifests itself when a product is already successfully crossed out, and is in fact a precondition of this bug. Please can you reopen this bug? Let me know if you need any more info. |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: