Issue Bug Closed

#89419EXT:backend depends on EXT:install for environment routes, but has no dependency

Daniel Siepmann 10/15/19, 13:17 updated 12/23/19, 22:43

Description

EXT:install is defining route tools_toolsenvironment while this is used by EXT:backend. Still I can not see a requires to ext install from ext backend.

ag "tools_toolsenv"
typo3/sysext/backend/Resources/Private/Templates/ToolbarItems/SystemInformationDropDown.html
8:<p class="dropdown-text typo3-module-menu-item submodule mod-tools_toolsenvironment" data-modulename="tools_toolsenvironment">

typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php
173:            'environmentToolUrl' => (string)$uriBuilder->buildUriFromRoute('tools_toolsenvironment'),

typo3/sysext/install/ext_tables.php
51:        'name' => 'tools_toolsenvironment',

Possible solution:
> a.fernandez 1:12 PM
> I think this requires two steps:
> 1) generate and render the link only if the route exists (try/catch on RouteNotFoundException or alike)
> 2) add EXT:install as suggestion

Reviews 2