Closed pmzandbergen closed 5 months ago
Hi @pmzandbergen. 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://9aa2bfe654ae79ee312741bd73c969c9.instances-prod.magento-community.engineering Admin access: https://9aa2bfe654ae79ee312741bd73c969c9.instances-prod.magento-community.engineering/admin_1fd0 Login: fddd306a Password: 0f9f2275cbf2
Hi @pmzandbergen,
Thanks for your reporting and collaboration.
We have verified the issue in Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots.
The result included the fields from all (nested) fragments (sku and url_key)
Thanks.
Hi @pmzandbergen,
We have noticed that this issue has not been updated since long time. Hence we assume that this issue is fixed now, so we are closing it. Please feel to raise a fresh ticket or reopen this ticket if you need more assistance on this.
Thanks.
Preconditions and environment
Steps to reproduce
Using a GraphQL fragment inside another fragment does not work. Example query:
In this case the Attribute Joiner (
Magento\CatalogGraphQl\Model\AttributesJoiner
) will return the following fields:sku
AnotherProductFragment
(which is not a field, its a fragment)The result will not return a value for
url_key
, since the attribute is not queried.Expected result
The result will include the fields from all (nested) fragments (
sku
andurl_key
in this example).Actual result
The result includes only the fields from the first (not nested) fragment,
url_key
is undefined.Additional information
I'll create a PR fixing the Attribute Joiner to support nested fragments.
Release note
No response
Triage and priority