{"data":{"id":"MDVA-41305","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where GraphQL mutation doesn’t return configurable product options after adding it to the wishlist.","categories":["GraphQL"],"components":["magento/module-configurable-product-graph-ql","magento/module-wishlist-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-10/mdva-41305-error-on-graphql-query-addproductstowishlist","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-10/mdva-41305-error-on-graphql-query-addproductstowishlist.md","blobSha":"fec46c29dd46d6f8f933fca8371a75c893374dbb","description":"When users add configurable products (with/without configuration) to the Wishlist by GraphQL, they are unable to get configurable SKUs and configurable options in response.","stepsToReproduce":"1. Create a configurable product (with Blue, Grey, and one custom option). 1. Open frontend; log in as a customer and create a Wishlist (check wishlist_id). 1. Open postman and create a customer token: <pre> <code class=\"language-graphql\"> mutation { generateCustomerToken(email: \"\", password: \"\") { token } } </code> </pre> 1. Set this token for Bearer Authorization. 1. Try to add a configurable product Blue to the wishlist using the following instructions: <pre> <code class=\"language-graphql\"> mutation { addProductsToWishlist( wishlistId: 1 wishlistItems: [ { sku: \"conf2\" selected_options: [ \"Y29uZmlndXJhYmxlLzkzLzUw\" ] quantity: 1 entered_options: [ { uid: \"Y3VzdG9tLW9wdGlvbi8x\" value: \"test\" } ] } ] ) { wishlist { id items_count items_v2 (currentPage: 1, pageSize: 8 ) { items { id quantity ... on ConfigurableWishlistItem { child_sku customizable_options { customizable_option_uid } } product { uid name sku options_container ... on CustomizableProductInterface { options { title required sort_order option_id ... on CustomizableFieldOption { value { uid sku price price_type max_characters } } } } price_range { minimum_price { regular_price { currency value } } maximum_price { regular_price { currency value } } } } } } } user_errors { code message } } } </code> </pre>","introducedInQpt":"1.1.10","createdFor":["2.4.2"],"documentedRange":"2.4.2 - 2.4.3-p1","scheduledFixRelease":"2.4.5"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.2 <2.4.4","path":"patches/os/MDVA-41305_2.4.2.patch","blobSha":"8de2d4b2ad5843d563c05dbd377abace31440948","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-41305_2.4.2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-configurable-product-graph-ql/Model/Wishlist/ConfigurableOptions.php","change":"modified","package":"magento/module-configurable-product-graph-ql"},{"path":"vendor/magento/module-configurable-product-graph-ql/Model/Wishlist/ConfiguredVariant.php","change":"added","package":"magento/module-configurable-product-graph-ql"},{"path":"vendor/magento/module-configurable-product-graph-ql/etc/schema.graphqls","change":"modified","package":"magento/module-configurable-product-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/Resolver/CustomizableOptions.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOption.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOptionValue/Composite.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOptionValue/Dropdown.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOptionValue/Multiple.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOptionValue/PriceUnitLabel.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOptionValue/Text.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOptionValueInterface.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/etc/graphql/di.xml","change":"modified","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/etc/schema.graphqls","change":"modified","package":"magento/module-wishlist-graph-ql"}],"packages":["magento/module-configurable-product-graph-ql","magento/module-wishlist-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":"MDVA-41305-V2","deprecated":false},{"package":"magento/magento2-base","constraint":">=2.4.4 <2.4.5","path":"patches/os/ACSD-46262_2.4.4.patch","blobSha":"64c63e452a9905d876b89a7bb36166a5783efbab","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-46262_2.4.4.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-configurable-product-graph-ql/Model/Wishlist/ConfigurableOptions.php","change":"modified","package":"magento/module-configurable-product-graph-ql"},{"path":"vendor/magento/module-configurable-product-graph-ql/etc/schema.graphqls","change":"modified","package":"magento/module-configurable-product-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/Resolver/CustomizableOptions.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOption.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOptionValue/Composite.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOptionValue/Dropdown.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOptionValue/Multiple.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOptionValue/PriceUnitLabel.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOptionValue/Text.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/Model/WishlistItem/DataProvider/CustomizableOptionValueInterface.php","change":"added","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/etc/graphql/di.xml","change":"modified","package":"magento/module-wishlist-graph-ql"},{"path":"vendor/magento/module-wishlist-graph-ql/etc/schema.graphqls","change":"modified","package":"magento/module-wishlist-graph-ql"}],"packages":["magento/module-configurable-product-graph-ql","magento/module-wishlist-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":["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"],"magento-commerce":["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":"MDVA-41305-V2","deprecated":false}],"applicableVersions":{"magento-community":["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","2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2"],"magento-commerce":["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","2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-41305 details"}