Config validation of views.style.tree_table fails with Drupal 11.2

Created on 5 August 2025, 2 days ago

Problem/Motivation

If you are on Drupal 11.2 the views config entities are validated during saving. In my case I got the following status message by Drupal as a warning.

Schema errors for views.view.organization with the following errors: views.view.organization:display.default.display_options.style.options.columns missing schema, views.view.organization:display.default.display_options.style.options.default missing schema, views.view.organization:display.default.display_options.style.options.info missing schema, views.view.organization:display.default.display_options.style.options.override missing schema, views.view.organization:display.default.display_options.style.options.sticky missing schema, views.view.organization:display.default.display_options.style.options.summary missing schema, views.view.organization:display.default.display_options.style.options.empty_table missing schema, views.view.organization:display.default.display_options.style.options.caption missing schema, views.view.organization:display.default.display_options.style.options.description missing schema, views.view.organization:display.default.display_options.style.options.class 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

  1. Install Drupal 11.2 with views and views_tree acitivated
  2. Create a view as usual with the view style tree_table plugin
  3. Hit save

Proposed resolution

The config schema has be adjusted to

# views_tree.schema.yml

views.style.tree_table:
-  type: views_style
+ type: views.style.table

By using type views.style.table you inherit all config schema properties from there.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany sunlix Wesel

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