Button icon extension validation settings do not work with versions >= 10.2 or < 11

Created on 16 October 2023, about 1 year ago
Updated 18 October 2023, about 1 year ago

Problem/Motivation

The core issue πŸ› FileUploadHandler::handleExtensionValidation does not have fallback for sites still using file_validate_extensions Needs work would fix this, but it can also be fixed with a simple change to the embed module, which will also make it slightly more Drupal 11 ready. Add a 'FileExtension' property to #upload_validators with the same value as 'file_validate_extensions' and it fixes the issue and adds the new validation property expected by Drupal 11.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bnjmnm Ann Arbor, MI

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

Comments & Activities

Production build 0.71.5 2024