Closed alessandrogrisafi closed 1 week ago
Hi @alessandrogrisafi. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce.
@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. Hi @alessandrogrisafi,
Thanks for your reporting and collaboration.
We have verified the issue in Latest 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots.
Steps to reproduce
We are able to place the order in the UK Store.
Kindly recheck the issue in Latest 2.4-develop instance and elaborate the steps to reproduce if the issue is still reproducible.
Thanks.
Hi,
We're currently using Magento version 2.4.5, as specified in the first comment, rather than the latest 2.4-develop instance (which I assume is version 2.4.7). I've replicated the issue on a vanilla Magento 2.4.5 setup.
Could you please attempt to replicate the issue on Magento 2.4.5 following the same steps?
Additionally, I originally overlooked a minor configuration detail: the IT and UK stores have their Default Country settings set to Italy and the United Kingdom, respectively.
Thank you!
Hi @alessandrogrisafi,
Thanks for your update.
It is recommended to verify the issue in Latest 2.4-develop instance as it is having latest codebase.Could you please verify the issue in Latest Magento instance and elaborate the steps to reproduce if the issue is still reproducible.
Thanks.
Hi,
We had a similar discussion with the Adobe Enterprise Support Team, and after several iterations, we identified that the key factor in reproducing the bug is not just creating two different stores, but ensuring that the stores are under different websites as well.
Using this setup, they were able to reproduce the issue in Magento 2.4.5-p10. The bug appears to be resolved in Magento 2.4.7-p3, and they are now working on creating a patch for Magento 2.4.5-p10 to address the issue in the same way it was fixed in Magento 2.4.7-p3.
Thank you for your support. This issue can now be closed.
Preconditions and environment
Steps to reproduce
Stores -> Configuration -> General -> General -> Allow Countries
set only Italy for the IT store and only United Kingdom for the UK storeStores -> Configuration -> General -> Web -> Add Store Code to Urls
Stores -> Configuration -> Customers -> Customer configuration -> Account Sharing Options -> Share Customer Accounts
to "Global"<base-url>/it
)<base-url>/uk
) and log in with the customer created in the IT storeExpected result
Order is placed
Actual result
Placing the order appears the errore
Invalid value of "GB" provided for the countryId field.
Additional information
The issue arises because, when saving a new address in
\Magento\Customer\Model\ResourceModel\AddressRepository::save
, the store ID of the address is set to match the customer’s store ID:Release note
No response
Triage and priority