Project

General

Profile

Actions

Bug #102659

closed

Trailing comma in include_static_file.txt

Added by Thomas Hohn 12 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
TypoScript
Target version:
Start date:
2023-12-12
Due date:
% Done:

100%

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

Description

If an entry in include_static_file.txt has a trailing comma,
the #1651137904 RuntimeException is thrown:
Single include_static_file does not start with "EXT:":

There seems to be a missing true in the line to filter empty entries:

$includeStaticFileFileIncludeArray = array_unique(GeneralUtility::trimExplode(',', $includeStaticFileFileIncludeContent));

in the class TYPO3\CMS\Core\TypoScript\IncludeTree\SysTemplateTreeBuilder in the function handleSingleIncludeStaticFile

Actions

Also available in: Atom PDF