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?

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

manuelbermudez created an issue. See original summary.

manuelbermudez’s picture

Assigned: manuelbermudez » Unassigned
Status: Active » Needs review
StatusFileSize
new3.25 KB

Here is the patch also created MR.

tunic’s picture

Issue summary: View changes