ACSD-62671: GraphQL doesn’t return updated address on first attempt
- Topics:
- GraphQL
CREATED FOR:
- Experienced
- Admin
- Developer
The ACSD-62671 patch fixes the issue where a GraphQL request does not return up-to-date address information on the first attempt. This patch is available when the Quality Patches Tool (QPT) 1.1.57 is installed. The patch ID is ACSD-62671. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.8.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.7-p1
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.7 - 2.4.7-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
When using the GraphQL Application Server, customer address request does not return the most recent data.
Steps to reproduce:
-
Install and start GraphQL Application Server.
-
Ensure
graphQL_query_resolver_result
cache type is enabled. -
Use GraphQL to:
- Create a customer.
- Generate a token.
- Use the token to create multiple addresses for the above customer.
-
Send GraphQL request to get the customer’s addresses.
-
Add a new address to the customer.
-
Repeat the request from Step #4 multiple times while monitoring the returned address count in the response.
Expected results:
GraphQL response contains the correct number of customer addresses.
Actual results:
Occasionally, incorrect number of addresses are returned in the GraphQL response.
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: A self-service tool for quality patches in the Tools guide.