- Issue created by @macdev_drupal
- Status changed to Closed: works as designed
about 1 year ago 8:49am 20 September 2023 - 🇸🇮Slovenia DeaOm
I tested this and the update is running as expected and setting the enabled to true, the issue happens when you then do the drush cim, which gets the old configuration that does not have that field, so it sets it back to disabled or rather NULL, basically overrides the drush updb changes.
The solution to this is, do the drush updb, then do the drush cex so you can get the new configuration with the new enabled field.
Maybe this step needs to be added to the readme or the documentation page, to make it more clear.
But the updating of the field works as designed, so closing this issue as such.