- ๐ฉ๐ชGermany sunlix Wesel
Hey together,
I have research a little bit on this and I am sure, that the patch in die issue fork solve this.
The related property here isthumbnail__alt
(Database column inmedia_field_data
which comes from the BaseFieldDefinition in theMedia
Entity itself.
This property/column stay'snull
if you upload an image to a media entity based on the image source plugin and left thealt
field empty.
But the ImageItem field plugin already has a default value foralt
which is an empty string.
see: https://git.drupalcode.org/issue/drupal-3319601/-/blob/3319601-media-ima...For remote video media entities based on the oembed source plugin this issue doesn't come up because the default value is set on the
updateThumbnail
method in theMedia
entity.
see: https://git.drupalcode.org/issue/drupal-3319601/-/blob/3319601-media-ima...So the issue is "only" related to media entities which are based on media source plugins that have
$thumbnail_alt_metadata_attribute
defined. - @sunlix opened merge request.
- First commit to issue fork.