ACSD-56090: GraphQL response is not store specific
The ACSD-56090 patch fixes the issue where the GraphQL respond contains all stores data instead of the store specific data. This patch is available when the Quality Patches Tool (QPT) 1.1.43 is installed. The patch ID is ACSD-56090. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.5.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.4-p3
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.2 - 2.4.6-p3
magento/quality-patches
package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
GraphQL response contains all stores data instead of the store specific data.
Steps to reproduce:
- Login to Admin panel > Catalog > Categories and create two root categories.
- Each Root category should have one sub-category.
- Navigate to Stores > All stores > Two stores exists with different root categories for each of it. (Each Stores should have at least one store view)
- Go to Catalog > Products > create a product with
- All the root and sub categories assigned
- All websites assigned.
- Execute the GraphqQL query (add header — store = 'storename ):
query {
products(filter: { url_key: { eq: "abc" } }) {
items {
categories {
name
id
url_path
breadcrumbs {
category_id
category_name
category_level
}
}
}
}
}
- Check the response after executing the GraphqQL query.
Expected results:
The store specific data is returned
Actual results:
Data returned is not store specific.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in the support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in the Quality Patches Tool guide.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.