Calling TypedConfigManager::create() does not use the definitions of TypedConfigManager (config schema), but of TypedDataManager (field types)

Created on 23 November 2023, about 1 year ago
Updated 5 December 2023, about 1 year ago

Problem/Motivation

Discovered in πŸ“Œ Configuration schema & required keys Fixed .

TypedConfigManager does not correctly override all of the methods of its base class, TypedDataManager.

The result is that sometimes it will get confused and NOT use the correct plugin definitions (*.schema.yml files' contents, surfaced by \Drupal\Core\Config\Schema\ConfigSchemaDiscovery), but instead those of the parent class (@DataType plugins).

Steps to reproduce

Proposed resolution

Add the test coverage that was overlooked in #1866610: Introduce Kwalify-inspired schema format for configuration β†’ .

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 4 hours ago

Created by

πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024