Problem/Motivation
If entity reference field is required and using Media Library widget, after the update to Drupal 9.2.3 when validation was added it fails and don't allow to save node. But media is selected and it is shown on frontend. After debbuging I have found that condition on line 967 in file MediaLibraryWidget.php is true, but item in the field was selected. Field is in the paragraph.
Also, please see comment - https://www.drupal.org/project/drupal/issues/3160238#comment-14191975
Steps to reproduce
1.Update to Drupal 9.2.3.
2.Try to save page with paragraph that contains entity reference field that uses media library widget and media was selected before the update.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot at Aug 23 16-51-48.jpg | 24.08 KB | Belialius |
Comments
Comment #2
Belialius commentedComment #3
Belialius commentedComment #4
Belialius commentedComment #5
Belialius commented