Bug #85825
closedPage TSconfig is not loaded when registering record and using relative paths
0%
Description
TYPO3 8.7.20
After adding this code over Configuration/TCA/Overrides/pages.php to register my own page TSconfig:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerPageTSConfigFile(
'user_boilerplate',
'Configuration/TSconfig/page.tsconfig',
'Boilerplate Settings'
);
If the content of the file Configuration/TSconfig/page.tsconfig uses relative paths like this:
<INCLUDE_TYPOSCRIPT: source="DIR:./Page" extensions="tsconfig">
Then the TSconfig is not loaded in backend.
I've always used relative paths to include TypoScript.
If I change the content to an absolute path:
<INCLUDE_TYPOSCRIPT: source="DIR:EXT:user_boilerplate/Configuration/TSconfig/Page" extensions="tsconfig">
then the TSconfig is loaded.
Can anyone confirm this behaviour and fix that if it proceeds?