Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When running the automated testing, a fatal error was being generated by the view defined in scheduler/config/install/views.view.scheduler_scheduled_content.yml
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for views.view.scheduled_content with the following errors:
views.view.scheduled_content:display.default.cache_metadata.max-age missing schema,
views.view.scheduled_content:display.default.cache_metadata.tags missing schema,
views.view.scheduled_content:display.page_1.cache_metadata.max-age missing schema,
views.view.scheduled_content:display.page_1.cache_metadata.tags missing schema,
views.view.scheduled_content:display.user_page.cache_metadata.max-age missing schema,
views.view.scheduled_content:display.user_page.cache_metadata.tags missing schema
in Drupal\Core\Config\Testing\ConfigSchemaChecker->onConfigSave()
(line 98 of /Library/WebServer/Documents/drupal8/core/lib/Drupal/Core/Config/Testing/ConfigSchemaChecker.php).
In addition, the view is not showing up in the admin views list, so it is hard to start investigating and fixing it.
I commented out the entire views.view.scheduler_scheduled_content.yml
and this allowed the simpletests to run, so there is definitely something wrong there.
Any ideas on how to fix this?
Comments
Comment #2
jonathan1055 CreditAttribution: jonathan1055 as a volunteer commentedThis seems to have fixed itself quite a while ago - must have been some mismatch between config and cache, or something. I will re-open if the problem crops up again.