- Issue created by @bserem
- 🇭🇷Croatia valic Osijek
The hook update should have deleted the config file for rates. we don't use it anymore.
The proper procedure as for any Drupal module, post update is to run drush cex.
This would update properly `commerce_exchanger.commerce_exchange_rates.ecb` to not hold reference on non-existing files anymore - 🇭🇷Croatia valic Osijek
Can you tell me did you run drush cex post running drush updatedb -y?
(or you can manually remove dependency within commerce_exchanger.commerce_exchange_rates.ecb)
- 🇬🇷Greece bserem
Hey Valic! I did update db first and export config right after. A new export doesn't change anything, yet the import does fail.
Let me get back to you on Monday about this. I'll try to edit the file by hand as you suggest.
Thanks - Status changed to Closed: won't fix
about 1 year ago 12:18pm 31 October 2023 - 🇬🇷Greece bserem
Manually editing the config yml file fixed things:
diff --git a/config/sync/commerce_exchanger.commerce_exchange_rates.ecb.yml b/config/sync/commerce_exchanger.commerce_exchange_rates.ecb.yml index cbbac13500..a1a7d518a6 100644 --- a/config/sync/commerce_exchanger.commerce_exchange_rates.ecb.yml +++ b/config/sync/commerce_exchanger.commerce_exchange_rates.ecb.yml @@ -1,9 +1,6 @@ uuid: langcode: en status: true -dependencies: - config: - - commerce_exchanger.latest_exchange_rates.ecb
Thanks @valic
- 🇬🇧United Kingdom rossb89 Bristol
Just had the same issue as above, the update hook deletes the latest exchange config but the other config file doesn't get it's dependency updated as part of config export so you need to manually edit to remove the dependencies section.