Project

General

Profile

Actions

Bug #100880

closed

block comments are not working as described in documentation in constants for root page

Added by Wolfgang Kleinbach about 1 year ago. Updated about 1 year ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
Start date:
2023-05-15
Due date:
% Done:

0%

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

Description

While updating the server from PHP 7.4.x to 8.2.3 I got an error message, when selecting "Template" on a root page in TYPO3 11.5.x and an error when saving constants from the constant editor in TYPO3 12.4.x.

The issue was caused by a comment in the constants part of the root template:

/*
This is a comment
This is the second line of a comment
*/

Corresponding to the documentation for TYPO3 11.5.x block comments this way should be allowed.
The closing "*/" at the beginning of a line caused the errors.
No issue with TYPO3 11.5.x using PHP 7.4.x so far.

Changing the comment in the following way, solves the issue:

/*
This is a comment
This is the second line of a comment */

Actions

Also available in: Atom PDF