Actions
Bug #89419
closedEXT:backend depends on EXT:install for environment routes, but has no dependency
Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2019-10-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions