Open ronakchauhan opened 1 year ago
Hi @ronakchauhan. 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:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
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:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. @magento give me 2.4-develop instance
Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Bravo, here is your Magento Instance: https://69ba96193a342f401ed31ba6ca4408e9.instances.magento-community.engineering Admin access: https://69ba96193a342f401ed31ba6ca4408e9.instances.magento-community.engineering/admin_0823 Login: d97df304 Password: 73174fb4f65b
Hi @ronakchauhan,
Thank you for reporting and collaboration.
Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots. As per Magento devdocs https://r-martins.github.io/m1docs/guides/v2.4/graphql/queries/cart.html#cart-output it is expected behaviour of magento not a bug.Kindly go through with this document.
In response it will give code for country.
Please let us know if you are still facing any issue.
Thanks.
It is expected behaviour as it shown in Magento documentation but this is not logically correct response. Country label should get Full Country name not country code.
Hi @ronakchauhan,
Thanks for your update,
We have gone through the main description and found that this is not related to any bug but existing behavior of Magento. Hence can be considered as an enhancement Hence marking this ticket as a feature request to process further. Thank you.
Hi @chernenm. 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:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Hi @ronakchauhan,
Thanks for your update,
We have gone through the main description and found that this is not related to any bug but existing behavior of Magento. Hence can be considered as an enhancement Hence marking this ticket as a feature request to process further. Thank you.
it's ridiculous to say this isn't a bug
label field will always return the same value as code field. it's country_code. So what is the difference between label field and code field when they always return the same value? LOL
Magento version: 2.4.5 Graphql: customerCart
Request:
{ customerCart { billing_address { country { label code } firstname lastname } shipping_addresses { country { label code } } } }
Response:
{ "data": { "customerCart": { "billing_address": { "country": { "label": "DE", "code": "DE" }, "firstname": "Ronak", "lastname": "Chauhan" }, "shipping_addresses": [ { "country": { "label": "DE", "code": "DE" } } ] } } }
Expected result:
"country": { "label": "Germany", // this should be full name of the country "code": "DE" },