Incorrect config schema

Created on 17 September 2024, 7 months ago

Problem/Motivation

When checking the config schema of views using that display, one gets error reports:

The contents of

display:
  default:
    display_options:
      style:
        type: slideshow
        options:
          widgets:
            top: (same at bottom)
                views_slideshow_pager_fields:
                  views_slideshow_pager_fields_fields:
                    title: 0
                    field_logo: 0
                    term_node_tid: 0
                  views_slideshow_pager_fields_hover: 0
                views_slideshow_pager_bullets:
                  views_slideshow_pager_bullets_hover: 0
          views_slideshow_cycle:
            effect: fade
            transition_advanced: 1
            timeout: '5000'
            speed: '700'
            delay: '0'
            sync: 1
            random: 0
            pause: 1
            pause_on_click: 1
            action_advanced: 0
            start_paused: 0
            remember_slide: 0
            remember_slide_days: '1'
            pause_in_middle: 0
            pause_when_hidden: 0
            pause_when_hidden_type: full
            amount_allowed_visible: ''
            nowrap: 0
            fixed_height: 1
            items_per_slide: '1'
            items_per_slide_first: 0
            items_per_slide_first_number: '1'
            wait_for_image_load: 1
            wait_for_image_load_timeout: '3000'
            cleartype: 0
            cleartypenobg: 0
            advanced_options_choices: '0'
            advanced_options_entry: ''
            advanced_options: '{}'

Are included in the view, although the config schema does not describe them.

Steps to reproduce

  • Create a View
  • Add a page display, choosing style plugin Views Slideshow
  • Enable the Config Inspector module
  • Check the view

Proposed resolution

Declare these schema properties.

Remaining tasks

Find out how and do it.

User interface changes

None

API changes

None

Data model changes

Config schema will include more keys.

🐛 Bug report
Status

Active

Version

5.0

Component

Code

Created by

🇫🇷France fgm Paris, France

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024