magento2
magento2 copied to clipboard
[Bug]: Request failed with status code 500 if currency mismatches
Expected Behavior
Whatever currency cookie value is, application do not hard-break
Actual Behavior
If I am in the default store where only USD currency is available, but for any reason, my currency cookie is set to EUR, the application breaks.
It can happen, for example, when someone is on the german/EUR store and then manually input the default store URL.
Possible Solution
No response
Steps to reproduce
- Open default store
- Change currency cookie from USD -> EUR
- Reload page
- Observe 500 error
What version of Magento 2 integration are you using?
2.4.x
What version of Node.js are you using?
16.13.1
What browser (and version) are you using?
Version 96.0.4664.110 (Official Build) (arm64)
What operating system (and version) are you using?
macOS Monterey 12.1
Relevant log output
No response
Code of Conduct
- [x] I agree to follow this project's Code of Conduct