Problem/Motivation

One of the predefined links in admin menu prorably does not exist in all of the latest versions of Drupal core ("update" module).

Steps to reproduce

Install Drupal core 10.4.2 and also this module with provided version.
Go to page admin/structure/menu/manage/admin
You probably get error: Symfony\Component\Routing\Exception\RouteNotFoundException: Route "update.theme_install" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 211 of core/lib/Drupal/Core/Routing/RouteProvider.php).

Proposed resolution

Adjust calling of "version_compare" function, when creating "update.theme_install" menu link in Drupal\admin_toolbar_tools\Plugin\Derivative\ExtraLinks class.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

tomas.teicher created an issue. See original summary.

tomas.teicher’s picture

Sorry, ma bad.
Duplicate to #3503934

ressa’s picture

That issue is also a duplicate :)