Loading
fix: #3634861 Tell the editor to ask an administrator when the model does not exist
Issue: https://www.drupal.org/project/ai_media/issues/3634861
A model that does not exist (HTTP 404, model_not_found, or a "model ... does not exist" message) is a setup problem, so the editor now reads "Generation is not available right now. Ask your site administrator." instead of being told to try again. Administrators get "Check the model chosen for this operation." Kernel cases added.
Before and after
Generating with the model set to gpt-image-does-not-exist.
Before (1.0.x), the editor is told to try again:
After, the editor is told to ask the site administrator:
Before (1.0.x), the administrator gets the provider details only:
After, the administrator is told to check the model:
AI-Generated: Yes
Checkpoints:
- File an issue
- Addition/Change/Update/Fix
- Testing to ensure no regression
- Automated unit testing coverage
- Automated functional testing coverage
- UX/UI designer responsibilities
- Readability
- Accessibility
- Performance
- Security
- Developer Documentation
- User Guide Documentation
- Reviewed by human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release
Edited by Rajab Natshah



