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

  1. Install a fresh Drupal 11 site using Composer.
  2. Enable the Quiz module using Drush:
  3. drush en quiz -y
  4. 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

CommentFileSizeAuthor
missing_schema_vbo.png98.7 KBdkmishra

Issue fork quiz-3593822

Command icon 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:

Command icon 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:

Comments

dkmishra created an issue. See original summary.

dkmishra’s picture

Project: Views Bulk Operations (VBO) » Quiz
Version: 4.4.x-dev » 7.1.x-dev
Component: Core » Code - Quiz core
Issue summary: View changes

In 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.

dkmishra changed the visibility of the branch 3593822-missing-schema-for to hidden.

dkmishra’s picture

Status: Active » Needs review
smustgrave’s picture

Version: 7.1.x-dev » 8.0.x-dev
Status: Needs review » Fixed

Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • smustgrave committed 43ac644f on 8.0.x
    fix: #3593822 Missing schema for views_bulk_operations_bulk_form....

  • smustgrave committed e6a1db70 on 7.1.x authored by dkmishra
    Issue #3593822: Remove force_selection_info and update VBO schema...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.