magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.48k stars 9.29k forks source link

GraphQl get configurable variant error #39180

Open m08110071 opened 1 day ago

m08110071 commented 1 day ago

Preconditions and environment

Steps to reproduce

Expected result

Response status is success

Actual result

Get error with log: {"exception":"[object] (GraphQL\\Error\\Error(code: 0): Item (Magento\\Catalog\\Model\\Product\\Interceptor) with the same ID \"1276\" already exists. at vendor/webonyx/graphql-php/src/Error/Error.php:170)

Additional information

This issue happen when there are multi configurable products use same child product

Release note

No response

Triage and priority

m2-assistant[bot] commented 1 day ago

Hi @m08110071. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

m2-assistant[bot] commented 1 day ago

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down: