- Issue created by @vakulrai
- First commit to issue fork.
- 🇮🇳India annmarysruthy
@vakulrai Unable to replicate the issue. No warnings were issued when a field with AI Automator enabled was deleted and content is edited again.
I am seeing a warning after deleting a field that has an automator enabled.
Warning: Undefined array key "field_content_random" in Drupal\ai_automators\AiAutomatorEntityModifier->entityHasConfig() (line 163 of /var/www/html/docroot/modules/contrib/ai/modules/ai_automators/src/AiAutomatorEntityModifier.php)
#0 /var/www/html/docroot/core/includes/bootstrap.inc(166): _drupal_error_handler_real()
#1 /var/www/html/docroot/modules/contrib/ai/modules/ai_automators/src/AiAutomatorEntityModifier.php(163): _drupal_error_handler()
#2 /var/www/html/docroot/modules/contrib/ai/modules/ai_automators/src/AiAutomatorEntityModifier.php(85): Drupal\ai_automators\AiAutomatorEntityModifier->entityHasConfig()
In any content type add a full text field.
Check "Enable AI Automator".
Save the field first,
now if i delete the field and try to create a content it gives me a warning on content save.
Active
1.1
AI Core module
@vakulrai Unable to replicate the issue. No warnings were issued when a field with AI Automator enabled was deleted and content is edited again.