Issue Bug Closed

#99769Output of fluid paths in admin panel debug view

Maik Hagenbruch 01/31/23, 12:03 updated 07/27/24, 14:58

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.