When a sub-field in an image field, some errors are triggered when uploading a file.
As per change records
https://www.drupal.org/node/3363700 β
, an update is required to the ImageWidget.php file:
'file_validate_is_image' => 'FileIsImage'
'file_validate_image_resolution' => 'FileImageDimensions' (with updated subarray)
'file_validate_extensions' => 'FileExtension'
These have been deprecated in D10.2+ and removed from D11.
Attached patch is a starting point, MR is coming.
Active
3.1
Code