New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Graphql] Category_uid is not available as a product aggregation type #32557
Comments
Hi @damienwebdev. Thank you for your report.
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:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Golf. Thank you for working on this issue.
|
@damienwebdev Please share correct Request Payload with example. on using this, getting error: so I modified my request payload & configure the attribute_code against Product from Admin Panel. Please check whether you configure attribute codes or not. |
@engcom-Golf the sample request provided expects you to use GraphQl variables, please do so -- my current request payload is correct. Regardless, the issue isn't an admin attribute, it is the category_uid attribute introduced by the GraphQl team in v2.4.2. This isn't an attribute configurable in the admin panel. @cpartica can explain if there is any confusion. |
@damienwebdev Thanks for quick reply. Shall I consider this issue as Confirmed or is there any other way to show category_uid aggregations |
Hi @damienwebdev , Kindly upgrade to the latest Magento version In case of any Magento related issues found in For any Magento related references, you may refer to the Magento user guide. Thanks! |
I am trying out this fix and the aggregation now shows Example query: query searchProducts {
products(search: "") {
aggregations {
attribute_code
options {
value
}
}
}
} Result I see (not a complete result: {
"data": {
"products": {
"aggregations": [
{
"attribute_code": "category_uid",
"options": [
{
"value": "48"
},
{
"value": "58"
},
{
"value": "47"
}
]
}
]
}
}
} In my case I would expect values like @damienwebdev have you had the change to check this "fix"? If you do get the proper values it might be something wrong on my end. |
@joggienl I haven't re-reviewed. |
@damienwebdev thanks for your quick reply! I've tried the call I used on https://venia.magento.com/graphql and there I do get the actual uid's. So that is weird to say the least. |
Preconditions (*)
v2.4.2
Steps to reproduce (*)
Expected result (*)
I expect to get
category_uid
back as an aggregation.Actual result (*)
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
Other information
Note that:
Returns the
category_uid
The text was updated successfully, but these errors were encountered: