You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Zend class throws an exception if the locale is empty or not 5 characters long.
We are relying on CurrencyInterface->getLocale() to find the currency locale but it looks like this can be empty, or taken from the user's Accept-Language header. If the Accept-Language header contains only 'de' (not 'de_DE'), then the exception is thrown.
We should use the Magento locale resolver instead as it will always return a valid locale.
The text was updated successfully, but these errors were encountered:
The Zend class throws an exception if the locale is empty or not 5 characters long.
We are relying on CurrencyInterface->getLocale() to find the currency locale but it looks like this can be empty, or taken from the user's Accept-Language header. If the Accept-Language header contains only 'de' (not 'de_DE'), then the exception is thrown.
We should use the Magento locale resolver instead as it will always return a valid locale.
The text was updated successfully, but these errors were encountered: