{"data":{"id":"ACSD-60631","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where GraphQL returns an error when the same simple product is assigned to multiple configurable products.","categories":["GraphQL","Catalog/Product"],"components":["magento/module-configurable-product-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-51/acsd-60631-graphql-returns-an-error-when-same-product-is-assigned-to-multiple-configurable-products","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-51/acsd-60631-graphql-returns-an-error-when-same-product-is-assigned-to-multiple-configurable-products.md","blobSha":"67dd3b11a6d09ba3455bd4991f4c8b0abc26fb08","description":"A GraphQL query returns an error when the same product is assigned to multiple configurable products.","stepsToReproduce":"1. Create a simple product with an attribute color. 1. Create 2 configurable products and assigned the simple product from step 1. 1. Run the GraphQL query (filtering the products by the url_key of the configurable products). { products(filter: { url_key: { in : [\"configurable-1\", \"configurable-2\"] } }) { items { id attribute_set_id name sku __typename price_range{ minimum_price{ regular_price{ value currency } } } categories { id } ... on ConfigurableProduct { configurable_options { id attribute_id_v2 label position use_default attribute_code values { value_index label } product_id } variants { product { id name sku attribute_set_id ... on PhysicalProductInterface { weight } price_range{ minimum_price{ regular_price{ value currency } } } } attributes { uid label code value_index } } } } } }","introducedInQpt":"1.1.51","createdFor":["2.4.7-p1"],"documentedRange":"2.4.7 - 2.4.7-p3","scheduledFixRelease":"2.4.8"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.7 <2.4.8","path":"patches/os/ACSD-60631_2.4.7-p1.patch","blobSha":"630f94cb869d67eed5b69216337871cfa52c306c","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-60631_2.4.7-p1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-configurable-product-graph-ql/Model/Variant/Collection.php","change":"modified","package":"magento/module-configurable-product-graph-ql"}],"packages":["magento/module-configurable-product-graph-ql"],"hasTests":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":[]},"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":{"and":[{"type":"log","path":"var/log/exception.log","match":"Item (Magento\\Catalog\\Model\\Product\\Interceptor) with the same ID \"*\" already exists.GraphQL"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-60631 details"}