Fixed the file validate constraint plugins

Created on 5 May 2025, 8 days ago

This issue was created following a request for the issue
https://www.drupal.org/project/media_bulk_upload/issues/3509302#comment-... 📌 Create new media_bulk_upload release (version TBD) Active

file_validate and related functions are deprecated and replaced with file.validator service and Constraint plugins : https://www.drupal.org/node/3363700

A Pull Request already exists :

https://git.drupalcode.org/project/media_bulk_upload/-/merge_requests/24

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇫🇷France Fabsgugu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Fabsgugu
  • 🇬🇧United Kingdom the_g_bomb

    Tested with Drupal 11.1.4 and media_bulk_upload dev-3.0.x, the above patch clears up errors
    "Drupal\Component\Plugin\Exception\PluginNotFoundException: The "file_validate_extensions" plugin does not exist. Valid plugin IDs for Drupal\Core\Validation\ConstraintManager are: Callback... "

Production build 0.71.5 2024