{"data":{"id":"ACSD-65935","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where the `customerOrders` GraphQL query returned an internal server error when a product was deleted.","categories":["Order/Checkout","GraphQL"],"components":["magento/module-rma","magento/module-rma-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-67/acsd-65935-customerorders-graphql-query-returned-an-internal-server-error-when-a-product-was-deleted","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-67/acsd-65935-customerorders-graphql-query-returned-an-internal-server-error-when-a-product-was-deleted.md","blobSha":"46062996a4b12babcde8da4126f5ee7bf024df2d","description":"The customerOrders GraphQL query returns an internal server error when a product is deleted.","stepsToReproduce":"1. Create two simple products 1. Create a customer and place an order with two products from the frontend. 1. Go to the backend and delete one product. 1. Create a customer token: https://localhost/pub/graphql mutation { generateCustomerToken(email: \"test@test.com\", password: \"123123qA\") { token } } 1. Retrieve the list of orders using the eligible_for_return filter (used in PWA to fetch customer orders): https://localhost/pub/graphql { customerOrders { items { order_number id created_at grand_total status items{ eligible_for_return } } } }","introducedInQpt":"1.1.67","createdFor":["2.4.7-p5"],"documentedRange":"2.4.4 - 2.4.7-p6","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-ee-base","constraint":">=2.4.4 <2.4.8","path":"patches/commerce/ACSD-65935_2.4.7-p5.patch","blobSha":"25d2f87c876831a425398f4f9113b0b3d3cfb5a8","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-65935_2.4.7-p5.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-rma/Helper/Data.php","change":"modified","package":"magento/module-rma"},{"path":"vendor/magento/module-rma-graph-ql/Model/Resolver/CustomerOrder/EligibleItems.php","change":"modified","package":"magento/module-rma-graph-ql"},{"path":"vendor/magento/module-rma-graph-ql/Model/Resolver/CustomerOrder/Item/IsEligible.php","change":"modified","package":"magento/module-rma-graph-ql"}],"packages":["magento/module-rma","magento/module-rma-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":[],"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","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"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","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/exception.log","match":"report.ERROR: Call to a member function getIsReturnable() on null"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-65935 details"}