- Merge request !6task: #3563033 Fix SchemaIncompleteException in tests → (Merged) created by joelpittet
🐛
Revision object is returned instead of revision id due to core type upcasting change.
Needs review
While testing StaticPageTest::testNodeRevisionRouteParameterIsHandled, a schema validation error occurs:
Drupal\Core\Config\Schema\SchemaIncompleteException: No schema for static_page.fields
This indicates that configuration data for static_page.fields exists but has no corresponding schema definition.
Having missing schema causes test failures when ConfigSchemaChecker is enabled and can lead to misinterpretation of configuration in strict environments.
See https://git.drupalcode.org/issue/static_page-3386719/-/jobs/7655691
Define a schema entry for static_page.fields in config/schema/static_page.schema.yml.
The schema should describe the expected structure and data types of the fields configuration.
This will allow ConfigSchemaChecker to validate the configuration correctly and resolve the test failure.
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.