Problem/Motivation

Currently the module provides queries plugins for views, but there is no config schema for the additional properties introduced by the plugins. e.g. contextual_filters_or. As core checks for all installed modules' config schema, this could make other tests on the site to fail. Check Drupal\Core\Test\TestSetupTrait->strictConfigSchema for more details.

Proposed resolution

Add config schema for the property.

Remaining tasks

Patch
Test
Commit

User interface changes

N/A

API changes

N/A

Data model changes

N/A

CommentFileSizeAuthor
#2 2919140-2.patch890 bytesvijaycs85
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vijaycs85 created an issue. See original summary.

vijaycs85’s picture

Status: Active » Needs review
FileSize
890 bytes

I think it's going to be tricky as the view plugin by this module is overriding core instead of introducing as new one. I am added all elements of core + one introduced here and hope this would load all as core doesn't really allow to add/extend (see core/modules/views/config/schema/views.query.schema.yml)

  • vijaycs85 authored 6feebad on 8.x-1.x
    Issue #2919140 by vijaycs85: Add config schema for view plugins
    
m.lebedev’s picture

Status: Needs review » Fixed
vijaycs85’s picture

Thank you!

Status: Fixed » Closed (fixed)

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