Active
Project:
Drupal core
Version:
main
Component:
configuration system
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2022 at 10:00 UTC
Updated:
30 Nov 2022 at 10:00 UTC
Jump to comment: Most recent
Discovered in #3324140: Convert field_storage_config and field_config's form validation logic to validation constraints.
In Drupal 10.0.0, one can define validation constraints in the config schema as much as you want, Drupal will not fail. It simply ignores everything under constraints, rather than at least verifying that the constraints specified actually exist 😱
Add
constraints:
Nonsense: []
to any part of the config schema, and observe that Drupal happily continues to pass all tests.
Comments
Comment #2
wim leers