Using System Value for Base Currency Results in Config Error #8003
Labels
bug report
Component: Config
Fixed in 2.2.x
The issue has been fixed in 2.2 release line
Fixed in 2.3.x
The issue has been fixed in 2.3 release line
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Reproduced on 2.1.x
The issue has been reproduced on latest 2.1 release
Reproduced on 2.2.x
The issue has been reproduced on latest 2.2 release
Reproduced on 2.3.x
The issue has been reproduced on latest 2.3 release
Checking
Use system value
for the base currency in the currency options results in a configuration error when importing currency rates.Preconditions
Steps to reproduce
Stores > Settings > Configuration > General > Currency Setup
Use system value
forBase Currency
Yes
forEnabled
in theScheduled Import Settings
sectionSave Config
if necessary and flush the cacheStores > Currency > Currency Rates
Expected result
Allowed Currencies
Actual result
You must first configure currency options before being able to see currency rates.
is displayed onCurrency Rates
page and user is unable to import rates via any of the services.Additional Notes
I was able to work around this issue by unselecting
Use system value
and explicitly selecting a Base Currency.This issue seems to be a result of the base currency not being written to the database when
Use system value
is selectedThis results in this method failing to fetch the rates as
$defaultCurrencies
(actually base currencies) is empty:Also, the
_getDefaultCurrencyCodes()
method is getting the base currencies rather than the default currencies, which may be a bug or just a poor naming choice:The text was updated successfully, but these errors were encountered: