- 🇭🇷Croatia valic Osijek
Let's move this to 2.0.x branch, and make changes post https://www.drupal.org/project/commerce_exchanger/issues/3366705 🐛 Latest exchange rates shouldn't be saved in config Fixed
We are moving from config-based entities, so post that change we can review the proper approach.
I think we should just return the exception immediately if exchanger rates from the remote are empty - this then would signal that integration is broken or the remote is down.
currently we just silently fail, which is causing this behavior
- Status changed to Fixed
about 1 year ago 11:40am 10 October 2023 - 🇭🇷Croatia valic Osijek
This is now addressed with 2.0.x branch and #3366705
If the remote data returns an empty array [] or it's just NULL, the import is throwing an error
InvalidArgumentException: Missing required property "rates". in Drupal\commerce_exchanger\ExchangerProviderRates->__construct() (line 51 of /var/www/html/web/modules/contrib/commerce_exchanger/src/ExchangerProviderRates.php).
Automatically closed - issue fixed for 2 weeks with no activity.