message for SchemaIncompleteException uses config_name:property which is unclear

Created on 26 February 2024, 4 months ago
Updated 16 April 2024, 2 months ago

Problem/Motivation

Errors in config schema which are checked by ConfigSchemaChecker throw a SchemaIncompleteException with messages like this:

> Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for action_link.action_link.test_changed with the following errors: action_link.action_link.test_changed:plugin_config missing schema

It's not clear what the 'foo.bar:biz.bax' format means (and it's not documented in code either -- 🐛 SchemaCheckTrait::checkConfigSchema() and checkValue() don't property document the @return Active ).

Changing this to explicitly say config foo.bar property biz.bax would be clearer.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Configuration 

Last updated about 2 hours ago

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024