Error when importing settings

Created on 21 May 2024, 4 months ago
Updated 22 June 2024, 3 months ago

Problem/Motivation

I enabled this module in a project, set it up locally, configured everything and can confirm this is all working.
When I export my settings via drush cex -y and deploy changes to my dev environment, the deploy script runs a config import drush cim -y but that fails on deployment:

[error]  Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchronization.
Configuration <em class="placeholder">webform_dynamic.settings</em> depends on the <em class="placeholder">webform_dynamic</em> extension that will not be installed after import. in Drupal\Core\Config\ConfigImporter->validate() (line 814 of /data/sites/web/henradeu/subsites/dev.henrad.eu/web/core/lib/Drupal/Core/Config/ConfigImporter.php). 

In ConfigImportCommands.php line 290:

The import failed due to the following reasons:
Configuration <em class="placeholder">webform_dynamic.settings</em> depends on the <em class="placeholder">webform_dynamic</em> extension that will not be installed after import.

Steps to reproduce

  • Set up locally
  • Export local config
  • Import config on testing/development/production environment

Proposed resolution

rename webform_dynamic.settings to webform_dynamic_autocomplete.settings ?

Remaining tasks

  • verify the bug
  • verify the solution
  • create a patch
  • create new version of this module

User interface changes

none

API changes

none

Data model changes

none, but settings file would change, so existing projects would probable have to do the setup of this module again at /admin/config/webform_dynamic_autocomplete/settings

🐛 Bug report
Status

Active

Version

10.0

Component

Code

Created by

🇧🇪Belgium flyke

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024