Project

General

Profile

Actions

Bug #93828

closed

TypoScript getText file: does not follow convention

Added by Daniel Siepmann over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Category:
TypoScript
Start date:
2021-03-29
Due date:
% Done:

100%

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

Description

TYPO3 TypoScript offers a way to fetch data via getText: https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/DataTypes/Index.html

This is also available to fetch data from files, using file as prefix as documented here: https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/DataTypes/Properties/GetText.html#file

The documentation already uses the possible way including whitespaces file : 17 : size. There is no single place where parsing of those strings is implemented.
Instead that specific part is implemented at getFileDataKey() of ContentObjectRenderer and uses simple explode() instead of GeneralUtility::trimExplode(). Therefore, whitespaces are not supported.

Actions

Also available in: Atom PDF