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.
Comments
Comment #2
tomas.teicher commentedSorry, ma bad.
Duplicate to #3503934
Comment #3
ressaThat issue is also a duplicate :)