# /core/modules/views/config/schema/views.filter.schema.yml, lines 156-157
views.filter_value.boolean:
  type: string

This exports all views that use a boolean filter (e.g.: Published, aka 'status') as a string of either '1' or '0'. This should be a boolean. When changing a view manually to set a status filter from '0' to true (sic), it will cause schema validation errors, even though all other keys surrounding 'value', such as 'exposed, correctly use a YAML boolean notation.

Might need to bump to 9.x-dev as changing this now will break everyone's view exports/default config validation.

Comments

kristiaanvandeneynde created an issue. See original summary.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

lendude’s picture

Status: Active » Closed (works as designed)

This is by design, boolean filter values can contain more than just booleans. ¯\_(ツ)_/¯

See #2459289: Boolean default values are not saved

kristiaanvandeneynde’s picture

Oh lol okay :)