magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

Product in cart's removed after reorder multiple times #38059

Closed khangtran2404 closed 1 month ago

khangtran2404 commented 1 year ago

Preconditions and environment

Steps to reproduce

  1. Navigate to Admin -> Catalog -> Product -> Choose a product -> Advanced Inventory -> set Maximum Qty Allowed in Shopping Cart to a small number -> Save product.
  2. Navigate to Shop page -> Login -> Order history page -> Reorder the order which contains the above product
  3. Reorder this order until the quantity of the above product reaches the Maximum Qty Allowed in Shopping Cart number

Expected result

Actual result

Additional information

No response

Release note

No response

Triage and priority

m2-assistant[bot] commented 1 year ago

Hi @khangtran2404. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

m2-assistant[bot] commented 1 year ago

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Bravo commented 1 year ago

Hi @khangtran2404,

Thank you for reporting and collaboration.

Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots.

Steps to reproduce

Screenshot 2023-10-10 at 2 45 39 PM Screenshot 2023-10-10 at 2 45 13 PM

It is navigating to Shopping cart and also it is showing error message as The requested qty exceeds the maximum qty allowed in shopping cart

Kindly recheck the behaviour on Magento 2.4-develop instance and elaborate steps to reproduce if the issue is still reproducible.

Thanks.

khangtran2404 commented 1 year ago

https://github.com/magento/magento2/assets/72378291/e9861646-1d1c-4f9c-b656-41791f1dbd59

Hello, I have checked again and still got the same error as in the video. Could you find attached the video and follow its steps? Thank you!

engcom-Bravo commented 1 year ago

Hi @khangtran2404,

Thanks for your update.

Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the attached video.

Steps to reproduce

https://github.com/magento/magento2/assets/51680745/699c18ca-bab0-4531-825d-35f529da2806

After doing multiple reorder the product got deleted from the cart.Error is as expected since we are adding more than maximum quantity but products should be there in the cart.

Hence Confirming the issue.

Thanks.

github-jira-sync-bot commented 1 year ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-9721 is successfully created for this GitHub issue.

m2-assistant[bot] commented 1 year ago

:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

BeggiNN commented 1 year ago

@magento I am working on this

engcom-Bravo commented 11 months ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 11 months ago

Hi @engcom-Bravo, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later.

engcom-Bravo commented 6 months ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 6 months ago

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 6 months ago

Hi @engcom-Bravo, here is your Magento Instance: https://4093ae267c8320806e10c10aba81d7df.instances-prod.magento-community.engineering Admin access: https://4093ae267c8320806e10c10aba81d7df.instances-prod.magento-community.engineering/admin_11f8 Login: 616be56d Password: 3aa3181c0080

engcom-Bravo commented 1 month ago

Hi @khangtran2404,

Thanks for your reporting and collaboration.

As per this comment https://github.com/magento/magento2/pull/38069#pullrequestreview-2055009141 issue is no more reproducible.

Hence we are closing this issue.

Thanks.