Settings key config validation "Configuration ai_images_api.settings depends on the ai_images_api extension that will not be installed after import."

Created on 2 December 2024, about 1 month ago

Problem/Motivation

With core 10.3.10 after configured module and try to import configuration the following error appears:

[error] Drupal\Core\Config\ConfigImporterException: 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. 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 ai_images_api.settings depends on the ai_images_api 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

Fit config validation requirement: use "ai_image_generation.settings" instead of "ai_images_api.settings"

Remaining tasks

Maybe update for exisiting config installations?

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇪🇸Spain manuelbermudez

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024