{"data":{"id":"ACSD-62965","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where a LocalizedException message is not included in the order placement GraphQL response.","categories":["GraphQL"],"components":["magento/module-graph-ql","magento/module-quote-graph-ql","magento/module-async-order-graph-ql"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-57/acsd-62965-fixes-missing-localizedexception-message-in-graphql-order-placement-response","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-57/acsd-62965-fixes-missing-localizedexception-message-in-graphql-order-placement-response.md","blobSha":"2339a7736b0eeae97ca779aaf3fdccd73f95bfed","description":"The GraphQL response for order placement does not include a LocalizedException message, resulting in insufficient error details for debugging.","stepsToReproduce":"1. Install a clean Adobe Commerce instance. 1. Add a product to the cart and proceed to the order placement step. 1. Add a LocalizedException to Magento\\Framework\\Exception\\LocalizedException in app/code/Magento/QuoteGraphQl/Model/Resolver/PlaceOrder.php. 1. Insert the exception after the following line: $cart = $this->getCartForCheckout->execute($maskedCartId, $userId, $storeId); Add the exception: throw new LocalizedException(new Phrase(\"Test LocalizedException\")); 1. Execute the place order GraphQL request: mutation { placeOrder(input: {cart_id: \"cart_id\"}) { order { order_number } } } 1. Observe the response: 1. The response does not include the LocalizedException message. 1. Example of the incorrect response: { \"data\": { \"placeOrder\": { \"order\": null } } }","introducedInQpt":"1.1.57","createdFor":["2.4.7"],"documentedRange":"2.4.7 - 2.4.7-p3","scheduledFixRelease":"2.4.8"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.7 <2.4.7-p8","path":"patches/os/ACSD-62965_2.4.7.patch","blobSha":"a00a5b6172cd852573d4f76c92eec80781ac7ff6","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-62965_2.4.7.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-graph-ql/Helper/Error/AggregateExceptionMessageFormatter.php","change":"modified","package":"magento/module-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/Cart/GetCartForUser.php","change":"modified","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/ErrorMapper.php","change":"added","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/QuoteException.php","change":"added","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/Resolver/EstimateShippingMethods.php","change":"modified","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/Resolver/EstimateTotals.php","change":"modified","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/Resolver/PlaceOrder.php","change":"modified","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/Resolver/RemoveItemFromCart.php","change":"modified","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/etc/schema.graphqls","change":"modified","package":"magento/module-quote-graph-ql"}],"packages":["magento/module-graph-ql","magento/module-quote-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"magento-commerce":["2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-base","constraint":">=2.4.7-p8 <2.4.8","path":"patches/os/ACSD-69177_2.4.7-p8.patch","blobSha":"1be7d00496058b1a0a01bca5d84452d4f8fa2cb9","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-69177_2.4.7-p8.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-graph-ql/Helper/Error/AggregateExceptionMessageFormatter.php","change":"modified","package":"magento/module-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/Cart/GetCartForUser.php","change":"modified","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/ErrorMapper.php","change":"added","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/QuoteException.php","change":"added","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/Resolver/EstimateShippingMethods.php","change":"modified","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/Resolver/EstimateTotals.php","change":"modified","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/Resolver/PlaceOrder.php","change":"modified","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/Model/Resolver/RemoveItemFromCart.php","change":"modified","package":"magento/module-quote-graph-ql"},{"path":"vendor/magento/module-quote-graph-ql/etc/schema.graphqls","change":"modified","package":"magento/module-quote-graph-ql"}],"packages":["magento/module-graph-ql","magento/module-quote-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.7-p10","2.4.7-p9","2.4.7-p8"],"magento-commerce":["2.4.7-p10","2.4.7-p9","2.4.7-p8"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-ee-base","constraint":">=2.4.7 <2.4.7-p8","path":"patches/commerce/ACSD-62965_2.4.7.patch","blobSha":"4397f9a24c77912f0126c643209b918659f0305d","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-62965_2.4.7.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-async-order-graph-ql/Model/Cart/PlaceOrderAsync.php","change":"modified","package":"magento/module-async-order-graph-ql"}],"packages":["magento/module-async-order-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-ee-base","constraint":">=2.4.7-p8 <2.4.8","path":"patches/commerce/ACSD-69177_2.4.7-p8.patch","blobSha":"4397f9a24c77912f0126c643209b918659f0305d","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-69177_2.4.7-p8.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-async-order-graph-ql/Model/Cart/PlaceOrderAsync.php","change":"modified","package":"magento/module-async-order-graph-ql"}],"packages":["magento/module-async-order-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p10","2.4.7-p9","2.4.7-p8"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"magento-commerce":["2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-62965 details"}