Problem/Motivation
When installing the Quiz module on a fresh Drupal 11 site using Drush, a configuration schema warning appears related to Views Bulk Operations (VBO). The warning indicates that the configuration key views_bulk_operations_bulk_form.force_selection_info is not defined in the schema.
This results in Drupal reporting schema validation errors even though the installation completes successfully.
Steps to reproduce
- Install a fresh Drupal 11 site using Composer.
- Enable the Quiz module using Drush:
- drush en quiz -y
- Observe the installation output.
The following warning appears:
[warning] Schema errors for views.view.quiz_results with the following errors: views.view.quiz_results:display.default.display_options.fields.views_bulk_operations_bulk_form.force_selection_info missing schema. These errors mean there is configuration that does not comply with its schema. This is not a fatal error, but it is recommended to fix these issues. For more information on configuration schemas, check out <a href="https://www.drupal.org/docs/drupal-apis/configuration-api/configuration-schemametadata">the documentation</a>.
Proposed resolution
Add missing configuration schema definition
| Comment | File | Size | Author |
|---|---|---|---|
| missing_schema_vbo.png | 98.7 KB | dkmishra |
Issue fork quiz-3593822
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Issue fork views_bulk_operations-3593822
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3593822-missing-schema-for
compare
Comments
Comment #2
dkmishra commentedIn Views Bulk Operations (VBO), the configuration option force_selection_info has been deprecated and removed during the upgrade process. It has been replaced by:
show_multipage_selection_box
show_select_all
During the update (e.g. views_bulk_operations_update_8036()), old values of force_selection_info are migrated into these new configuration keys and then removed from the stored configuration.
Therefore, in the latest version of the module and Views configuration, force_selection_info should no longer exist and any references to it should be updated or cleaned up automatically through database updates or view re-saving.
Comment #5
dkmishra commentedComment #6
smustgrave commentedThanks!