- ๐ช๐จEcuador jwilson3
I would also point out that we had a similar issue that was intended to bring about backward compatibility to the #file_validator functionality in ๐ Duplicate allowed types help text Active , so it may make sense to implement a similar approach here, to add in the Drupal 11 compatibility.
- ๐ช๐จEcuador jwilson3
As was pointed out in ๐ PluginNotFoundException: The "svg_image_field_validate_mime_type" plugin does not exist Active , a similar issue was reported for the Webform module ๐ Drupal\Component\Plugin\Exception\PluginNotFoundException: The "webform_file_validate_extensions" plugin does not exist Closed: outdated .
This problem (I believe) is related to core Change Record #3363700: file_validate and related functions are deprecated and replaced with file.validator service and Constraint plugins. โ
My quick assessment here (similar to DamienMcKenna's follow-up issue on the webform queue โจ Replace webform_file_validate_extensions with Constraint plugin Active ) is that we should replace the file validation logic with a new Constraint plugin, instead of simply deleting the #file_validator from the codebase.
- ๐ฉ๐ชGermany thomaswalther Rhein-Main Area
I try manually deleting this line. And the error still exists. I did drush cr after.
I will try tomorrow again.