Filter settings override in url_embed.schema.yml breaks filter settings

Created on 21 May 2024, about 1 month ago
Updated 11 June 2024, 16 days ago

Problem/motivation

As "url_embed" overrides "filter_settings.*" with type "mapping", whereas the original type is "sequence", in "url_embed.schema.yml" it breaks other filter_settings.

Steps to reproduce

  1. With URL Embed enabled go to /admin/config/content/formats and edit or create a format
  2. Try to add media embed for CKEditor 5, and save.
  3. A long list of errors like "'allowed_media_types' is not a supported key." will occur, and the format can not be save.

Proposed resolution

Remove the "filter_settings.*" override in "url_embed.schema.yml" and replace "filter_settings.url_embed_convert_links" type "sequence" with "filter" as that seems to be the correct way to declare filter_settings.
I've added a patch file to this issue.

This module uses Gitlab CI for automated testing of proposed code changes. To contribute code changes, create a merge request. Patch files will not trigger automated testing and are not sufficient for review.
πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024