Do not checkNamedRoute if route_name is NULL

Created on 11 March 2024, 4 months ago
Updated 12 June 2024, 15 days 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

RTBC

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.69.0 2024