BUG [ORDERs][S1] : Create new order and edit exists in different browser tabs, produces cancellation and creation incrementid-1 #39315
Labels
Area: Order
Component: order status
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Progress: ready for dev
Reported on 2.4.6-p3
Indicates original Magento version for the Issue report.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Preconditions and environment
Steps to reproduce
Two cases were detected for which the same solution would apply.
Details
The problem is exclusively found in poor management of the incrementID of the order based on the QuoteSession data that takes as a reference the QuoteId of an existing order that is being edited after consolidating the new order.
Case A
Two actions will be used simultaneously in the same browser with the same Magento session, the creation of an order (Tab1) and the editing of an existing one (Tab2).
Support with video for a better understanding of the problem
bug_magento_create_order.mp4
Expected result
The expected result would be that
Actual result
The current result is that
Case B
The same problem occurs if I try to edit two orders simultaneously
Tab1: Go to Sales > Order
Tab2: Go to Sales > Order
Tab1: To confirm the above refresh the tab
Expected result
The expected result would be that
Actual result
The current result is that
Additional information
This is directly related to the Quote session
This problem occurs more frequently when the sales team is large and operates with several customers at the same time, significantly increasing the probability of orders being created and edited simultaneously.
This problem affects the new general implementation and with the management of third-party extensions to add features it can affect the frontend
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: