Loading
fix: #3634867 Refuse a description with no letters or digits before calling the provider
Issue: https://www.drupal.org/project/ai_media/issues/3634867
A description with no letter or digit in any script (\p{L}\p{N}) is refused with a field error before any request: "!!! ***" was a paid call and the model invented a subject. The check sits in the generator, so every path that generates gets it. Kernel test added.
Before: a description of only symbols is sent to the provider.
After: "Enter words, not only symbols." under the field, and no request.
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

