Do not checkNamedRoute if route_name is NULL

Created on 11 March 2024, 10 months ago
Updated 16 August 2024, 4 months ago

Problem/Motivation

In admin_toolbar_links_access_filter_filter_non_accessible_links the call to $access_manager->checkNamedRoute() should be avoided, when the $route_name is NULL, because that leads to errors and warnings downstream. The route name needs to be a string, not NULL.

Proposed resolution

Handle that special case in code.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

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