AI Automator status field fails on config import
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3508420. --> Reported by: [xamount](https://www.drupal.org/user/23901) Related to !932 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>I created some AI Automators, enabled those AI fields in the ckeditor. Everything is working great. I exported the config as I usually would whenever I edit stuff in the admin UI.</p> <p>Then on a rebuild of the site, I get this error at the config import step:</p> <p><code>Unexpected error during import with operation create for field.field.automator_chain.FIELD_NAME.ai_automator_status: Attempted to create, modify or delete an instance of field with name ai_automator_status on entity type automator_chain when the field storage does not exist.</code></p> <p>I then need to manually run config import again and the automator fields then gets created.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>1. Create an AI automator<br> 2. Enable this ai automator in the text format of your choice.<br> 3. Test that it works by editing a content and using the AI Assistant ckeditor button<br> 4. Export the config<br> 5. Rebuild the site and notice failure at drush cim step.</p> > Related issue: [Issue #3543141](https://www.drupal.org/node/3543141)
issue