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.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jurgenhaas created an issue. See original summary.

jurgenhaas’s picture

Status: Active » Needs review
arnested’s picture

Status: Needs review » Reviewed & tested by the community

japerry made their first commit to this issue’s fork.

japerry’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.