Open
Description
Preconditions and environment
- Magento version 2.4.6-p3
- Share Customer Accounts (customer/account_share/scope) = Global
- Allowed countries (general/country/allow) in the default website (for instance, British Website) are set to set X (for instance, United Kingdom only).
- Allowed countries (general/country/allow) in any other website (for instance, Irish Website) are set to set Y (for instance, Ireland only).
- Create a customer in the Store View that does not belong not to default website (for instance, create it in any store that belongs to Irish Website).
- Assign some address to the previously created customer with the country that is allowed not only not in the default website (for instance, with the country Ireland).
Steps to reproduce
First case:
- Do a PUT request to the /rest/V1/customers/[customer_id], where [customer_id] is the entity_id of the customer created on the 5th step of preconditions.
Another case:
- In the admin panel, edit the customer created on the 5th step of preconditions.
- Go to the tab Addresses
- Click Edit on the address created on the 6th step of preconditions.
Expected result
First case:
PUT request is executed without any errors
Another case:
Country field is present and contains all the available values (so United Kingdom and Ireland, for example).
Actual result
First case:
An error occurred 'Invalid value of "IE" provided for the countryId field.'
Another case:
Country field is not present at all.
Additional information
Fixed in #38182
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Activity