Problem/Motivation
With core 10.3.10 after configuring module and try to import configuration the following error appears:
[error] Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchronization.
Configuration <em class="placeholder">ai_images_api.settings</em> depends on the <em class="placeholder">ai_images_api</em> extension that will not be installed after import. in Drupal\Core\Config\ConfigImporter->validate() (line 823 of /var/www/html/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">ai_images_api.settings</em> depends on the <em class="placeholder">ai_images_api</em> extension that will not be installed after import. In ConfigImporter.php line 823:
There were errors validating the config synchronization.
Configuration ai_images_api.settings depends on the ai_images_api extension that will not be installed after import.
Steps to reproduce
Configure module as normally, then change any config manually or try to import in other environment.
Proposed resolution
Fix config validation requirement: use "ai_image_generation.settings" instead of "ai_images_api.settings"
Remaining tasks
Maybe update for existing config installations?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | config_validation_fix-3491097-2.patch | 3.25 KB | manuelbermudez |
Issue fork ai_image_generation-3491097
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
Comment #3
manuelbermudez commentedHere is the patch also created MR.
Comment #4
tunic