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

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

    Comments

    flyke created an issue. See original summary.

    flyke’s picture

    This patch is working.

    You have to set up /admin/config/webform_dynamic_autocomplete/settings again and export your settings (drush cex -y).

    Then you will have both webform_dynamic.settings.yml and webform_dynamic_autocomplete.settings.yml files. You need to remove (delete) the old webform_dynamic.settings.yml file.
    Then you can import (drush cim -y) both locally as well as on your environment (so deploying will work now).

    kushal bansal’s picture

    Assigned: Unassigned » kushal bansal