Problem/Motivation

When saving a twig field in Drupal 11.2+ with development.services (config.schema_checker) we can see the warning when saving a twig field.
Schema errors for ds.field.redacted with the following errors: ds.field.redacted:properties.content missing schema. These errors mean there is configuration that does not comply with its schema. This is not a fatal error, but it is recommended to fix these issues. For more information on configuration schemas, check out the documentation.

When using the media title you get errors:

Schema errors for core.entity_view_display.media.document.teaser with the following errors: core.entity_view_display.media.document.teaser:third_party_settings.ds.fields.media_name.settings missing schema. These errors mean there is configuration that does not comply with its schema. This is not a fatal error, but it is recommended to fix these issues. For more information on configuration schemas, check out the documentation.

Steps to reproduce

Save a twig field or add the media name field to a display

Proposed resolution

Add schema

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork ds-3561351

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ericgsmith created an issue. See original summary.

ericgsmith’s picture

Status: Active » Needs review

Composer job failure looks unreleated

ericgsmith’s picture

Title: Twig field schema missing » Twig field, media name and block title schema missing
Issue summary: View changes
ericgsmith’s picture

Expanded the scope to some other warnings I picked up

swentel’s picture

Hmm, for some reason, the build fails and the merge doesn't work, not sure why though (same on #3533907: PHP 8.4 - Implicitly nullable via default value null deprecation), will try to figure out later this week.

swentel’s picture

Status: Needs review » Fixed

merged in, will trigger a new release in a couple of minutes, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

swentel’s picture

Status: Fixed » Closed (fixed)