- First commit to issue fork.
- Status changed to Needs review
3 days ago 2:04pm 26 June 2024 - π©πͺ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. - Status changed to Needs work
2 days ago 3:04pm 27 June 2024 - πΊπΈUnited States smustgrave
Feels like something that should probably have some kind of test coverage even though it's a small change.