Reviewed & tested by the community
Project:
Drupal core
Version:
main
Component:
phpunit
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Sep 2026 at 10:13 UTC
Updated:
21 Sep 2026 at 10:48 UTC
Jump to comment: Most recent
Comments
Comment #2
leandro713 commentedComment #3
leandro713 commentedI would like to work on this issue, but before changing the schema I
noticed that both the entity key mapping and the installed test
configuration use `name`:
- The `label` entity key maps to `name`.
- `module_installer_config_test.type.missing_id.yml` contains `name`.
Only `config_export` uses `label`.
Would the intended minimal fix be to change `config_export` from
`label` to `name`, rather than changing the schema?
Comment #5
leandro713 commentedThe merge request updates the test entity's `config_export` definition to use
`name`, making it consistent with the entity key mapping, configuration schema,
and installed test configuration.
Checks performed:
- PHPCS: passed.
Comment #6
joachim commented> Would the intended minimal fix be to change `config_export` from
`label` to `name`, rather than changing the schema?
I think that's the right fix -- I hadn't investigated far enough when I filed the issue.
Thanks!
Comment #7
quietone commentedThere is only on module_installer_config_test.schema.yml file in core, so trimming the title/