Project

General

Profile

Actions

Bug #85825

closed

Page TSconfig is not loaded when registering record and using relative paths

Added by Sergio Catalá almost 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-08-13
Due date:
% Done:

0%

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

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?


Related issues 1 (1 open0 closed)

Is duplicate of TYPO3 Core - Bug #79737: Registered pageTSconfig file won't allow relative paths for includeUnder Review2017-02-10

Actions
Actions

Also available in: Atom PDF