Compatibility with plupload 2.2.0

Created on 19 December 2024, 3 days ago

Problem/Motivation

Plupload 2.2.0 fixed the problem with #upload_validators https://www.drupal.org/project/plupload/issues/3456524 📌 Drupal 11 compatibility Needs work

As a result the default file extensions are added to all instances of plupload_widget. An image field now allows jpg, png,... AND txt doc xls....

Steps to reproduce

  1. Change article image field to plupload widget (/admin/structure/types/manage/article/form-display)
  2. Create a new article
  3. Notice that the image field has two lines for allowed extensions

Proposed resolution

Fix prepareUploadValidators() to match https://www.drupal.org/node/3363700

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada bwaindwain

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024