- Issue created by @mario.vandewalle@telenet.be
- 🇬🇧United Kingdom longwave UK
Moving this to the Varbase Media project, we can't help you with this in core.
- 🇬🇧United Kingdom andy tawse
Hi,
The problem here seems to be that the recipe update varbase_media_update_100005 assumes that the config originally created by the recipe already exists i.e. that those user roles exist. The project I'm working on has varbase media installed, but does not have those roles, so the update can't run and this stops the update process.
I can't find anything in the recipe docs to deal with this situation in a recipe.yml. I think it's a legitimate use case that a recipe may have been applied, but configuration was later changed outside of the module.
Would a better approach be to handle this in an update hook so you can check whether the roles do exist?
I'm going to try that out and post back.
thanks