Problem/Motivation

When using the hide_1_result_facet processor in a Facets view filter, schema validation fails with errors like:
views.view.demo:display.default.display_options.filters.facets_demo_filter.facet.processor_configs.hide_1_result_facet.settings missing schema

Steps to reproduce

Enable the hide_1_result_facet processor in a facet filter by enabling the 'Hide facet with 1 result' setting.
Try to save the view.
Observe missing schema errors.

Proposed resolution

Add a schema definition for the processor under facets.processor.schema.yml.

Issue fork facets-3544120

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

attila.fekete created an issue. See original summary.

herved’s picture

Actually, a few more are missing, see #3544226-5: Schema definitions issues

damienmckenna’s picture

Status: Active » Needs work

Should we close this one and just focus on #3544226: Schema definitions issues?

mxr576’s picture

Status: Needs work » Closed (duplicate)

I think we should, let's focus all efforts for config schema issues in #3544226: Schema definitions issues.

Please add the fix for this problem to the open MR on that issue.

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

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

Maintainers, please credit people who helped resolve this issue.