Drupal 10: InputBag::get() may no longer return an array in Symfony 6

Created on 15 June 2023, over 1 year ago
Updated 3 July 2023, over 1 year ago

Problem/Motivation

Facet's cache context uses InputBag::get() to access an array, which is no longer allowed in Symfony 6 (see https://github.com/symfony/symfony/pull/34363).

Steps to reproduce

Install facets, enable ajax, click filter, see no result.

Proposed resolution

Replace call to get() in FacetsFilterCacheContext with a call to all().

Remaining tasks

1. Create merge request.
2. Review.
3. Merge!

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States benabaird

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

Comments & Activities

Production build 0.71.5 2024