ACSD-66041: Ireland (IE) postcodes not searchable for pickup locations due to missing CountryID
The ACSD-66041 patch fixes the issue where Ireland (IE) postcodes are not searchable for pickup locations due to a missing CountryID
. This patch is available when the Quality Patches Tool (QPT) 1.1.66 is installed. The patch ID is ACSD-66041. Please note that this issue is scheduled to be fixed in ÃÛ¶¹ÊÓÆµ Commerce 2.4.9.
Affected products and versions
The patch is created for ÃÛ¶¹ÊÓÆµ Commerce version:
- ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.7-p5
Compatible with ÃÛ¶¹ÊÓÆµ Commerce versions:
- ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.4 - 2.4.8
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
Ireland (IE) postcodes are not searchable for pickup locations due to a missing CountryID
.
Steps to reproduce:
-
Run the following GraphQL query:
code language-graphql query getStoresTestError($term: String!, $radius: Int!) { pickupLocations( sort: { distance: ASC } area: { radius: $radius, search_term: $term } ) { items { pickup_location_code name description latitude longitude country_id region city street postcode phone } } }
-
Use the following variables:
code language-none { "radius": 81, "term": "dublin:IE" }
Expected results:
Ireland postcodes are available to search for pickup locations.
Actual results:
-
An Internal Server Error is returned.
-
var/log/exception.log
contains the following error:code language-none report.ERROR: Provided countryId does not exist. {"exception":"[object] (GraphQL\\Error\\Error(code: 0): Provided countryId does not exist.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- ÃÛ¶¹ÊÓÆµ Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- ÃÛ¶¹ÊÓÆµ 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.