Issue Bug Rejected

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

Wolfgang Kleinbach 05/15/23, 15:45 updated 05/16/23, 07:15

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 */

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.