Error when added to 404 pages

Created on 26 October 2023, over 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