Skip to content

Commit 16a47a2

Browse files
committed
1.1.67 Release
- Resolved conflict: ACSD-62272 and ACSD-66139 - Updated patches-info.json
1 parent 1782129 commit 16a47a2

File tree

3 files changed

+29
-27
lines changed

3 files changed

+29
-27
lines changed

patches-info.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

patches/os/ACSD-66139_2.4.7-p5.patch

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/vendor/magento/module-graph-ql/Helper/Error/AggregateExceptionMessageFormatter.php b/vendor/magento/module-graph-ql/Helper/Error/AggregateExceptionMessageFormatter.php
2-
index 1eab96a3f229d..4c35168cc482d 100644
2+
index 1eab96a3f22..4c35168cc48 100644
33
--- a/vendor/magento/module-graph-ql/Helper/Error/AggregateExceptionMessageFormatter.php
44
+++ b/vendor/magento/module-graph-ql/Helper/Error/AggregateExceptionMessageFormatter.php
55
@@ -1,7 +1,7 @@
@@ -21,7 +21,7 @@ index 1eab96a3f229d..4c35168cc482d 100644
2121

2222
/**
2323
* @param ExceptionMessageFormatterInterface[] $messageFormatters
24-
@@ -54,11 +54,12 @@ public function getFormatted(
24+
@@ -54,11 +54,12 @@ class AggregateExceptionMessageFormatter
2525
ResolveInfo $info
2626
): ClientAware {
2727
foreach ($this->messageFormatters as $formatter) {
@@ -38,7 +38,7 @@ index 1eab96a3f229d..4c35168cc482d 100644
3838
}
3939
}
4040
diff --git a/vendor/magento/module-quote-graph-ql/Model/Cart/GetCartForCheckout.php b/vendor/magento/module-quote-graph-ql/Model/Cart/GetCartForCheckout.php
41-
index 4b2d1afdea003..bd5f3d8cbaf2e 100644
41+
index 4b2d1afdea0..bd5f3d8cbaf 100644
4242
--- a/vendor/magento/module-quote-graph-ql/Model/Cart/GetCartForCheckout.php
4343
+++ b/vendor/magento/module-quote-graph-ql/Model/Cart/GetCartForCheckout.php
4444
@@ -1,7 +1,7 @@
@@ -51,7 +51,7 @@ index 4b2d1afdea003..bd5f3d8cbaf2e 100644
5151
*/
5252
declare(strict_types=1);
5353

54-
@@ -57,7 +57,7 @@ public function execute(string $cartHash, ?int $customerId, int $storeId): Quote
54+
@@ -57,7 +57,7 @@ class GetCartForCheckout
5555
try {
5656
$cart = $this->getCartForUser->execute($cartHash, $customerId, $storeId);
5757
} catch (NoSuchEntityException $e) {
@@ -61,7 +61,7 @@ index 4b2d1afdea003..bd5f3d8cbaf2e 100644
6161
$this->checkoutAllowance->execute($cart);
6262

6363
diff --git a/vendor/magento/module-quote-graph-ql/Model/Cart/GetCartForUser.php b/vendor/magento/module-quote-graph-ql/Model/Cart/GetCartForUser.php
64-
index 77a31cc3cd023..72b4da1188d3d 100644
64+
index 77a31cc3cd0..72b4da1188d 100644
6565
--- a/vendor/magento/module-quote-graph-ql/Model/Cart/GetCartForUser.php
6666
+++ b/vendor/magento/module-quote-graph-ql/Model/Cart/GetCartForUser.php
6767
@@ -1,7 +1,7 @@
@@ -74,7 +74,7 @@ index 77a31cc3cd023..72b4da1188d3d 100644
7474
*/
7575
declare(strict_types=1);
7676

77-
@@ -14,6 +14,7 @@
77+
@@ -14,6 +14,7 @@ use Magento\Framework\GraphQl\Exception\GraphQlNoSuchEntityException;
7878
use Magento\Quote\Api\CartRepositoryInterface;
7979
use Magento\Quote\Model\MaskedQuoteIdToQuoteIdInterface;
8080
use Magento\Quote\Model\Quote;
@@ -135,7 +135,7 @@ index 77a31cc3cd023..72b4da1188d3d 100644
135135
}
136136

137137
/**
138-
@@ -78,12 +87,18 @@ public function execute(string $cartHash, ?int $customerId, int $storeId): Quote
138+
@@ -78,12 +87,18 @@ class GetCartForUser
139139
$cart = $this->cartRepository->get($cartId);
140140
} catch (NoSuchEntityException $exception) {
141141
throw new GraphQlNoSuchEntityException(
@@ -158,7 +158,7 @@ index 77a31cc3cd023..72b4da1188d3d 100644
158158
$cart = $this->updateCartCurrency->execute($cart, $storeId);
159159
diff --git a/vendor/magento/module-quote-graph-ql/Model/ErrorMapper.php b/vendor/magento/module-quote-graph-ql/Model/ErrorMapper.php
160160
new file mode 100644
161-
index 0000000000000..428903673dbc2
161+
index 00000000000..428903673db
162162
--- /dev/null
163163
+++ b/vendor/magento/module-quote-graph-ql/Model/ErrorMapper.php
164164
@@ -0,0 +1,101 @@
@@ -265,7 +265,7 @@ index 0000000000000..428903673dbc2
265265
+}
266266
diff --git a/vendor/magento/module-quote-graph-ql/Model/QuoteException.php b/vendor/magento/module-quote-graph-ql/Model/QuoteException.php
267267
new file mode 100644
268-
index 0000000000000..131bca64b8a68
268+
index 00000000000..131bca64b8a
269269
--- /dev/null
270270
+++ b/vendor/magento/module-quote-graph-ql/Model/QuoteException.php
271271
@@ -0,0 +1,28 @@
@@ -298,10 +298,10 @@ index 0000000000000..131bca64b8a68
298298
+ }
299299
+}
300300
diff --git a/vendor/magento/module-quote-graph-ql/Model/Resolver/EstimateShippingMethods.php b/vendor/magento/module-quote-graph-ql/Model/Resolver/EstimateShippingMethods.php
301-
index 50474ce1355c0..dfcd97dd2eef0 100644
301+
index 50474ce1355..dfcd97dd2ee 100644
302302
--- a/vendor/magento/module-quote-graph-ql/Model/Resolver/EstimateShippingMethods.php
303303
+++ b/vendor/magento/module-quote-graph-ql/Model/Resolver/EstimateShippingMethods.php
304-
@@ -21,6 +21,7 @@
304+
@@ -21,6 +21,7 @@ use Magento\Quote\Api\ShipmentEstimationInterface;
305305
use Magento\Quote\Model\MaskedQuoteIdToQuoteIdInterface;
306306
use Magento\Quote\Model\Quote\AddressFactory;
307307
use Magento\Quote\Model\Cart\ShippingMethodConverter;
@@ -317,15 +317,15 @@ index 50474ce1355c0..dfcd97dd2eef0 100644
317317
*/
318318
public function __construct(
319319
private MaskedQuoteIdToQuoteIdInterface $maskedQuoteIdToQuoteId,
320-
@@ -46,6 +48,7 @@ public function __construct(
320+
@@ -46,6 +48,7 @@ class EstimateShippingMethods implements ResolverInterface
321321
private ExtensibleDataObjectConverter $dataObjectConverter,
322322
private ShippingMethodConverter $shippingMethodConverter,
323323
private FormatMoneyTypeData $formatMoneyTypeData,
324324
+ private ErrorMapper $errorMapper
325325
) {
326326
}
327327

328-
@@ -64,7 +67,9 @@ public function resolve(Field $field, $context, ResolveInfo $info, array $value
328+
@@ -64,7 +67,9 @@ class EstimateShippingMethods implements ResolverInterface
329329
[
330330
'masked_id' => $args['input']['cart_id']
331331
]
@@ -337,7 +337,7 @@ index 50474ce1355c0..dfcd97dd2eef0 100644
337337
}
338338
return $this->getAvailableShippingMethodsForAddress($args['input']['address'], $cart);
339339
diff --git a/vendor/magento/module-quote-graph-ql/Model/Resolver/EstimateTotals.php b/vendor/magento/module-quote-graph-ql/Model/Resolver/EstimateTotals.php
340-
index 40c80e81bd023..54d036b76ca91 100644
340+
index 40c80e81bd0..54d036b76ca 100644
341341
--- a/vendor/magento/module-quote-graph-ql/Model/Resolver/EstimateTotals.php
342342
+++ b/vendor/magento/module-quote-graph-ql/Model/Resolver/EstimateTotals.php
343343
@@ -1,6 +1,6 @@
@@ -348,7 +348,7 @@ index 40c80e81bd023..54d036b76ca91 100644
348348
* All Rights Reserved.
349349
*/
350350
declare(strict_types=1);
351-
@@ -19,6 +19,7 @@
351+
@@ -19,6 +19,7 @@ use Magento\Quote\Api\CartRepositoryInterface;
352352
use Magento\Quote\Api\Data\AddressInterface;
353353
use Magento\Quote\Model\MaskedQuoteIdToQuoteIdInterface;
354354
use Magento\Quote\Model\Quote\AddressFactory;
@@ -373,7 +373,7 @@ index 40c80e81bd023..54d036b76ca91 100644
373373
) {
374374
}
375375

376-
@@ -61,7 +64,9 @@ public function resolve(Field $field, $context, ResolveInfo $info, array $value
376+
@@ -61,7 +64,9 @@ class EstimateTotals implements ResolverInterface
377377
[
378378
'masked_id' => $args['input']['cart_id']
379379
]
@@ -385,7 +385,7 @@ index 40c80e81bd023..54d036b76ca91 100644
385385
}
386386

387387
diff --git a/vendor/magento/module-quote-graph-ql/Model/Resolver/PlaceOrder.php b/vendor/magento/module-quote-graph-ql/Model/Resolver/PlaceOrder.php
388-
index ae581971120f9..416544c79a8d5 100644
388+
index ae581971120..416544c79a8 100644
389389
--- a/vendor/magento/module-quote-graph-ql/Model/Resolver/PlaceOrder.php
390390
+++ b/vendor/magento/module-quote-graph-ql/Model/Resolver/PlaceOrder.php
391391
@@ -1,7 +1,7 @@
@@ -398,7 +398,7 @@ index ae581971120f9..416544c79a8d5 100644
398398
*/
399399
declare(strict_types=1);
400400

401-
@@ -9,67 +9,41 @@
401+
@@ -9,67 +9,41 @@ namespace Magento\QuoteGraphQl\Model\Resolver;
402402

403403
use Magento\Framework\Exception\AuthorizationException;
404404
use Magento\Framework\Exception\LocalizedException;
@@ -477,7 +477,7 @@ index ae581971120f9..416544c79a8d5 100644
477477
) {
478478
}
479479

480-
@@ -78,8 +52,6 @@ public function __construct(
480+
@@ -78,8 +52,6 @@ class PlaceOrder implements ResolverInterface, ResetAfterRequestInterface
481481
*/
482482
public function resolve(Field $field, $context, ResolveInfo $info, array $value = null, array $args = null)
483483
{
@@ -486,7 +486,7 @@ index ae581971120f9..416544c79a8d5 100644
486486
if (empty($args['input']['cart_id'])) {
487487
throw new GraphQlInputException(__('Required parameter "cart_id" is missing'));
488488
}
489-
@@ -87,83 +59,39 @@ public function resolve(Field $field, $context, ResolveInfo $info, array $value
489+
@@ -87,83 +59,39 @@ class PlaceOrder implements ResolverInterface, ResetAfterRequestInterface
490490
$maskedCartId = $args['input']['cart_id'];
491491
$userId = (int)$context->getUserId();
492492
$storeId = (int)$context->getExtensionAttributes()->getStore()->getId();
@@ -591,7 +591,7 @@ index ae581971120f9..416544c79a8d5 100644
591591
- }
592592
}
593593
diff --git a/vendor/magento/module-quote-graph-ql/Model/Resolver/RemoveItemFromCart.php b/vendor/magento/module-quote-graph-ql/Model/Resolver/RemoveItemFromCart.php
594-
index 307087391b89d..4b4e5f5eb8db9 100644
594+
index 307087391b8..4b4e5f5eb8d 100644
595595
--- a/vendor/magento/module-quote-graph-ql/Model/Resolver/RemoveItemFromCart.php
596596
+++ b/vendor/magento/module-quote-graph-ql/Model/Resolver/RemoveItemFromCart.php
597597
@@ -1,7 +1,7 @@
@@ -604,7 +604,7 @@ index 307087391b89d..4b4e5f5eb8db9 100644
604604
*/
605605
declare(strict_types=1);
606606

607-
@@ -18,6 +18,7 @@
607+
@@ -18,6 +18,7 @@ use Magento\Quote\Api\CartItemRepositoryInterface;
608608
use Magento\Quote\Model\MaskedQuoteIdToQuoteId;
609609
use Magento\QuoteGraphQl\Model\Cart\GetCartForUser;
610610
use Magento\Framework\GraphQl\Query\Resolver\ArgumentsProcessorInterface;
@@ -665,7 +665,7 @@ index 307087391b89d..4b4e5f5eb8db9 100644
665665
}
666666

667667
/**
668-
@@ -76,7 +85,9 @@ public function resolve(Field $field, $context, ResolveInfo $info, array $value
668+
@@ -76,7 +85,9 @@ class RemoveItemFromCart implements ResolverInterface
669669
$cartId = $this->maskedQuoteIdToQuoteId->execute($maskedCartId);
670670
} catch (NoSuchEntityException $exception) {
671671
throw new GraphQlNoSuchEntityException(
@@ -677,7 +677,7 @@ index 307087391b89d..4b4e5f5eb8db9 100644
677677
}
678678

679679
diff --git a/vendor/magento/module-quote-graph-ql/etc/schema.graphqls b/vendor/magento/module-quote-graph-ql/etc/schema.graphqls
680-
index 53da2d8751127..579324089256f 100644
680+
index 53da2d87511..57932408925 100644
681681
--- a/vendor/magento/module-quote-graph-ql/etc/schema.graphqls
682682
+++ b/vendor/magento/module-quote-graph-ql/etc/schema.graphqls
683683
@@ -261,12 +261,6 @@ type ApplyCouponToCartOutput @doc(description: "Contains details about the cart
@@ -707,4 +707,3 @@ index 53da2d8751127..579324089256f 100644
707707

708708
type StoreConfig {
709709
is_guest_checkout_enabled: Boolean @doc(description: "Extended Config Data - checkout/options/guest_checkout")
710-

support-patches.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15338,7 +15338,10 @@
1533815338
"packages": {
1533915339
"magento/magento2-base": {
1534015340
">=2.4.7 <2.4.8": {
15341-
"file": "os/ACSD-66139_2.4.7-p5.patch"
15341+
"file": "os/ACSD-66139_2.4.7-p5.patch",
15342+
"require": [
15343+
"ACSD-55100"
15344+
]
1534215345
}
1534315346
},
1534415347
"magento/magento2-ee-base": {

0 commit comments

Comments
 (0)