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.56k stars 9.32k forks source link

REST API order info -> "parent" products sku inconsistency with product_id #21231

Open tsoftp opened 5 years ago

tsoftp commented 5 years ago

Preconditions (*)

1.Magento 2.4-develop 2.Using Luma test sample data 3.Using Postman for REST API calls.

Steps to reproduce (*)

1.Simply create an order with a configurable product (i.e. a shirt size M color grey or something like that) 2.Make a REST API call to return that order/list of orders.

Expected result (*)

  1. Receive the API response for the order.
  2. The product I ordered is listed in the "Items" array and its "parent_item" attribute shows the original configurable product's data.

Actual result (*)

  1. The product I ordered is listed in the "Items" array and its "parent_item" attribute shows the child's "sku" attribute instead of the sku of the parent_item.

In other words it says that the parent's Sku is the same as the simple product sku which is simply not true, despite it having the correct "name" and "item_id" attribute values.

  1. Example info attached with what I am describing happening. File has comments on the lines I'm talking about. bug.txt

Thank you!

magento-engcom-team commented 5 years ago

Hi @tsoftp. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento-engcom-team give me 2.3-develop instance - upcoming 2.3.x release

For more details, please, review the Magento Contributor Assistant documentation.

@tsoftp do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?

tsoftp commented 5 years ago

@magento-engcom-team give me 2.3-develop instance

magento-engcom-team commented 5 years ago

Hi @tsoftp. Thank you for your request. I'm working on Magento 2.3-develop instance for you

magento-engcom-team commented 5 years ago

Hi @tsoftp, here is your Magento instance. Admin access: https://i-21231-2-3-develop.instances.magento-community.engineering/admin Login: admin Password: 123123q Instance will be terminated in up to 3 hours.

magento-engcom-team commented 5 years ago

Hi @tsoftp. Thank you for your request. I'm working on Magento 2.3-develop instance for you

magento-engcom-team commented 5 years ago

Hi @tsoftp, here is your Magento instance. Admin access: https://i-21231-2-3-develop.instances.magento-community.engineering/admin Login: admin Password: 123123q Instance will be terminated in up to 3 hours.

tsoftp commented 5 years ago

I just reproduced it on the first instance @magento-engcom-team created. (2nd instance I created by accident by quoting him/it)

@tsoftp do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • [x] yes
  • [ ] no
ryandiamond23 commented 5 years ago

@magento-engcom-team give me 2.2.7 instance

magento-engcom-team commented 5 years ago

Hi @ryandiamond23. Thank you for your request. I'm working on Magento 2.2.7 instance for you

magento-engcom-team commented 5 years ago

Hi @ryandiamond23, here is your Magento instance. Admin access: https://i-21231-2-2-7.instances.magento-community.engineering/admin Login: admin Password: 123123q Instance will be terminated in up to 3 hours.

magento-engcom-team commented 5 years ago

Hi @engcom-backlog-nazar. 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:

magento-engcom-team commented 5 years ago

:white_check_mark: Confirmed by @engcom-backlog-nazar Thank you for verifying the issue. Based on the provided information internal tickets MAGETWO-98287, MAGETWO-98288 were created

Issue Available: @engcom-backlog-nazar, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

magento-engcom-team commented 5 years ago

Hi @hiren0241. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:

m2-assistant[bot] commented 4 years ago

Hi @engcom-Charlie. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:


engcom-Delta commented 1 month ago

Hi @tsoftp ,

Thanks for your reporting and collaboration. We have verified the issue in latest 2.4-develop instance and the issue is reproducible. Kindly refer the screenshots.

Steps to reproduce 1.Simply create an order with a configurable product (i.e. a shirt size M color grey or something like that) 2.Make a REST API call to return that order/list of orders. Response - image api response.txt

Thanks.

github-jira-sync-bot commented 1 month ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-13133 is successfully created for this GitHub issue.

m2-assistant[bot] commented 1 month ago

:white_check_mark: Confirmed by @engcom-Delta. Thank you for verifying the issue.
Issue Available: @engcom-Delta, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

diamondavocado commented 1 month ago

Great job guys, only took 5 and a half years to confirm the existence of this bug.

Meanwhile anyone with a room temperature IQ has long since stopped using Magento and started using something better such as literally anything else.