Recomended Tab doesn' contain any recieps anymore when AI Assistand Recipe was enabled.

Created on 17 May 2025, about 2 months ago

Problem/Motivation

I have activated the recipe AI Drupal Assistant and used an API from Open AI by Chat GPT. Unfortunately, once the recipe is activated, I can't activate any more recipes because the list of recipes on the Expand page in the Recommend tab is simply empty afterwards. The reason for this is the following error message:

Drupal\Core\Recipe\RecipePreExistingConfigException: The configuration 'image.style.ai_image_alt_text' exists already and does not match the recipe's configuration in Drupal\Core\Recipe\ConfigConfigurator->__construct() (line 62 of /var/www/cms/web/core/lib/Drupal/Core/Recipe/ConfigConfigurator.php).

I can't say why this is the case. I also have no idea why an image style that already exists suddenly means that the list of recipes available for installation no longer exists. That makes no sense to me at all, but unfortunately, it is a fact. I have just tested this again on a fresh Drupal installation because I was afraid that the bug could not be reproduced. But I was wrong, it's very easy to reproduce this bug. If anyone has a patch for it, I would be grateful. Otherwise, I'll have to start again with a fresh Drupl CMS installation.

Steps to reproduce

Install Drupal CMS as usual
Go to /admin/modules/browse/recipes
Enable the Chatbot AI recipe
Enter an API key
Let it finish the install process
Now you can see all recieps are gone, becuase tey could not be loaded anymore.

Proposed resolution

User interface changes

find the root cause
write a patch
apply patch
re-release the recipe

Configuration changes

TBD

๐Ÿ› Bug report
Status

Active

Component

Track: AI

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany joachim namyslo Kulmbach ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ช๐Ÿ‡บ

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