Project

General

Profile

Actions

Bug #89419

closed

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

Added by Daniel Siepmann over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Category:
-
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 #1

Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61999

Actions #2

Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61999

Actions #3

Updated by Gerrit Code Review over 4 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62261

Actions #4

Updated by Daniel Siepmann over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF