Error when added to 404 pages

Created on 26 October 2023, about 1 year ago

Problem/Motivation

If the Views or the Exposed form is added to a 404 page it will return a Error.
The route will not load the 404 page.

Symfony\Component\Routing\Exception\ResourceNotFoundException: No routes found for "/a". in Drupal\Core\Routing\Router->matchRequest()

Steps to reproduce

Includes the Views with Better Exposed Filters on 404 page.

Proposed resolution

Similar issue with the Token module. See: https://www.drupal.org/project/token/issues/2969344 โ†’

Adds a try/catch to the Url::createFromRequest() on getExposedFormActionUrl() in src/Plugin/BetterExposedFiltersWidgetBase.php file.

๐Ÿ› Bug report
Status

Active

Version

6.0

Component

Code

Created by

๐Ÿ‡ง๐Ÿ‡ทBrazil adrianopulz Florianรณpolis

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024