Project

General

Profile

Actions

Bug #85825

closed

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

Added by Sergio Catalá over 6 years ago. Updated over 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 (0 open1 closed)

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

Actions
Actions #1

Updated by Sergio Catalá about 6 years ago

  • Description updated (diff)
Actions #2

Updated by Sebastian Klein about 6 years ago

I can confirm this. I'm adding Page TSconfig in the same way with registerPageTSConfigFile() inside Configuration/TCA/Overrides/pages.php.
As soon as I change INCLUDE_TYPOSCRIPT from an absolute path to a relative path, the TSconfig is no longer loaded.

Actions #3

Updated by Sergio Catalá almost 6 years ago

Any update regarding this issue?

Actions #4

Updated by Georg Ringer over 4 years ago

  • Status changed from New to Closed

closing this as duplicate of #79737

Actions #5

Updated by Georg Ringer over 4 years ago

  • Is duplicate of Bug #79737: Registered pageTSconfig file won't allow relative paths for include added
Actions

Also available in: Atom PDF