Problem/Motivation

I have a functional test depending on the storage module, failing when installing the dependency with this error:

Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for views.view.storage with the following errors: views.view.storage:display.default.display_options.filters.status_extra.value variable type is string but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanData

In config/optional/views.view.storage.yml, display.default.display_options.filters.status_extra.value is set to an empty string, while it should be set to false.

Patch attached

Steps to reproduce

- Create a functional test
- Add the storage module so it gets installed
- Run the test: it should fail while installing the dependencies

CommentFileSizeAuthor
views_view_storage_status_extra_format.patch433 bytesnanak
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nanak created an issue. See original summary.

mxr576’s picture

Version: 1.2.2 » 1.1.x-dev
Status: Needs review » Reviewed & tested by the community

Tested, looks good to me.

  • mxh committed a211319 on 1.1.x
    Issue #3319480 by nanak, mxr576: Fix status_extra property value in...
mxh’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the report, patch and review. Committed.

Status: Fixed » Closed (fixed)

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