Skip to content

Commit 2f6948e

Browse files
author
Anna Bukatar
committed
ACP2E-1194: Duplicate orders with 2 parallel GraphQL requests
1 parent b251932 commit 2f6948e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/code/Magento/QuoteGraphQl/etc/di.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
99
<preference for="Magento\QuoteGraphQl\Model\CartItem\DataProvider\CustomizableOptionValueInterface" type="Magento\QuoteGraphQl\Model\CartItem\DataProvider\CustomizableOptionValue\Composite" />
1010
<preference for="Magento\QuoteGraphQl\Model\CartItem\DataProvider\Processor\ItemDataProcessorInterface" type="Magento\QuoteGraphQl\Model\CartItem\DataProvider\Processor\ItemDataCompositeProcessor" />
11+
<preference for="Magento\QuoteGraphQl\Model\Cart\PlaceOrderMutexInterface" type="Magento\QuoteGraphQl\Model\Cart\PlaceOrderMutex" />
1112
<type name="Magento\QuoteGraphQl\Model\Resolver\CartItemTypeResolver">
1213
<arguments>
1314
<argument name="supportedTypes" xsi:type="array">

app/code/Magento/QuoteGraphQl/etc/graphql/di.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
type="Magento\QuoteGraphQl\Model\Cart\SetShippingMethodsOnCart"/>
1313
<preference for="Magento\QuoteGraphQl\Model\Cart\MergeCarts\CartQuantityValidatorInterface"
1414
type="Magento\QuoteGraphQl\Model\Cart\MergeCarts\CartQuantityValidator"/>
15-
<preference for="Magento\QuoteGraphQl\Model\Cart\PlaceOrderMutexInterface"
16-
type="Magento\QuoteGraphQl\Model\Cart\PlaceOrderMutex" />
1715
<type name="Magento\QuoteGraphQl\Model\Cart\BuyRequest\BuyRequestBuilder">
1816
<arguments>
1917
<argument name="providers" xsi:type="array">

0 commit comments

Comments
 (0)