Type Error in views_plugin_query_default::options_submit()

Created on 24 January 2024, 5 months ago
Updated 2 May 2024, about 2 months ago

Problem/Motivation

views_plugin_query_default::options_submit() throwing type error when value returned by drupal_array_get_nested_value() is passed to explode() and isn't a string

Steps to reproduce

Edit a View > Advanced > Other > Query settings > For this block > Check Distinct and Apply (this display)

Proposed resolution

Deconstruct value returned by drupal_array_get_nested_value() and pass that value to explode(). See attached patch

πŸ› Bug report
Status

Needs work

Version

3.0

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom jonnyToomey

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

Comments & Activities

Production build 0.69.0 2024