Missing Schema: page_manager.block_plugin.view_mode

Created on 19 March 2025, 26 days ago

Problem/Motivation

Two tests are failing. The blocks are missing view_mode

This might be related to #3114348: Missing schema for Variant settings of placed blocks β†’

Steps to reproduce

There were 2 errors:

1) Drupal\Tests\page_manager\Functional\PageNodeSelectionTest::testAdmin
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for page_manager.page_variant.block_page_first with the following errors: page_manager.page_variant.block_page_first:variant_settings.blocks.d2fdd89f-42d3-4f6b-9007-3926e9f991de.view_mode missing schema

/var/www/html/web/core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php:98
/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:206
/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:56
/var/www/html/web/core/lib/Drupal/Core/Config/Config.php:230
/var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php:260
/var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php:486
/var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php:239
/var/www/html/web/core/lib/Drupal/Core/Entity/EntityBase.php:354
/var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:617
/var/www/html/tests/src/Functional/PageNodeSelectionTest.php:114

2) Drupal\Tests\page_manager\Kernel\PageConfigSchemaTest::testValidPageConfigSchema
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for page_manager.page_variant.block_page with the following errors: page_manager.page_variant.block_page:variant_settings.blocks.c7e90548-7492-4526-8f07-34d43866170f.view_mode missing schema

/var/www/html/web/core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php:98
/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:206
/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:56
/var/www/html/web/core/lib/Drupal/Core/Config/Config.php:230
/var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php:260
/var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php:486
/var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php:239
/var/www/html/web/core/lib/Drupal/Core/Entity/EntityBase.php:354
/var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:617
/var/www/html/tests/src/Kernel/PageConfigSchemaTest.php:88

Proposed resolution

Add view_made to the schema.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

4.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States bluegeek9

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