Forms are broken when automators or FWA are not configurable
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3574611. --> Reported by: [fago](https://www.drupal.org/user/16747) Related to !1230 >>> <p>[Tracker]<br> <strong>Update Summary: </strong>[One-line status update for stakeholders]<br> <strong>Short Description: </strong>[One-line issue summary for stakeholders]<br> <strong>Check-in Date: </strong>MM/DD/YYYY<br> <em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br> [/Tracker]</p> <h3 id="summary-problem-motivation">Problem</h3> <p>- The automator form can be saved even if no provider is available. This was noted for text-to-image, but seems to be a general issue in the base-class<br> - When you try to configure the FWA and there is no automator available yet, you end-up with an empty form without notice. Again applies to text-to-image automator, but probably applies to more automators</p> <h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4> <ul> <li>Follow <a href="https://project.pages.drupalcode.org/ai/1.3.x/modules/ai_automators/examples/text_to_image_media_automator/">text-to-media-image docs</a> but do not pre-configure a suiting provider.</li> <li>Follow <a href="https://project.pages.drupalcode.org/ai/1.3.x/modules/ai_automators/examples/text_to_image_media_automator/">text-to-media-image docs</a> but do not configure an automator, try to configure a FWA first.</li> </ul> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Show some inline text message indicating why the form is not conifgurable and provide a link to the configuration screen on where to proceed.</p>
issue