Project

General

Profile

Actions

Bug #99769

closed

Output of fluid paths in admin panel debug view

Added by Maik Hagenbruch almost 2 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
AdminPanel
Target version:
-
Start date:
2023-01-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If i use the admin panel to show the fluid template path in the debug view to much from the path is stripped.

the function stripPathSitePrefix of TYPO3\CMS\Core\Utility\PathUtility gets the path as
'EXT:ext_name/Resources/Private/Page/Portal/Partials/Navigation/MetaLanguage/Switch.html'
and strips the length of Environment::getPublicPath() which is '/var/www/html/public'.
This results in a string like 'es/Private/Page/Portal/Partials/Navigation/MetaLanguageSwitch.html'

i think it would be better to return the full path starting with 'EXT:...' or without 'EXT:' but in every case the full path.


Files

Actions

Also available in: Atom PDF