Dropdown widget's default option value of "." is causing a route match error when using AJAX facets

Created on 4 September 2020, over 4 years ago
Updated 11 March 2025, 23 days ago

Problem/Motivation

The default ("All") option has a value of "." set, which causes a ResourceNotFoundException in FacetBlockAjaxController (`$processed` equals "." in `ajaxFacetBlockView()`).

I'm using a block with one facet dropdown with an AJAX View. Sometimes everything continues to work, but sometimes the view completely breaks.

May be related to #3052574 but I didn't see any changes in the patches to dropdown-widget.js, and I'm also not sure what should actually be happening instead to debug further.

This site has Layout Builder installed, but this specific block is placed using the normal block system, and the view is a plain page display. The view is a Search API view but I'm not sure if that's relevant or not.

πŸ› Bug report
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States karlshea Minneapolis πŸ‡ΊπŸ‡Έ

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡§πŸ‡ͺBelgium borisson_ Mechelen, πŸ‡§πŸ‡ͺ

    Since this is in the 1.x version of facets and it is regarding ajax, I'm going to close this issue. We are only supporting ajax with views in facets 3.x.

Production build 0.71.5 2024