- Issue created by @boobaa
With some config values being config_ignored, it's not possible to get to the same site via drush si --existing-config
.
drush si minimal
drush cex
drush en config_ignore automated_cron
/admin/config/development/configuration/ignore
automated_cron.settings:interval
, but leave "Mode of operation" as Simple, then click "Save configuration"drush cex
– automated_cron.settings.yml gets created without interval: 10800
(which is the default setting for this config value per web/core/modules/automated_cron/config/install/automated_cron.settings.yml
)/admin/config/system/cron
, change "Run cron every" to "1 hour" and click "Save configuration"drush cex
– which reports "The active configuration is identical to the configuration in the export directory", which is… not 100% correct (as the active configuration does have that internal: 3600
, but it's config_ignored), yet it's still not the main problemdrush si --existing-config
Expected result: visiting /admin/config/system/cron
telling the active setting as "3 hours" – because it's the module's default setting, and this setting is missing from the exported config as it's config_ignored.
Actual result: visiting /admin/config/system/cron
telling the active setting as "Never" – because that's the first available option in that dropdown.
Versions: drupal/config_ignore:3.3.0 with drupal/core:10.3.6.
For ignored config values, use the module-provided defaults (where it's possible – and I know it's not even possible for some cases, eg. allowed_values for list_string fields).
Alternatively, provide extensive documentation on how to configure config_ignore with Intermediate or Advanced mode of operation: when to use which, how and why.
Active
3.3
Code