Issue Bug Closed

#76447TypoScript Parse Bug

Kevin Dargel 06/03/16, 15:07 updated 10/04/22, 13:58

Description

The current TS-Parsing seems to ignore or take in account commented-out sections of TypoScript containing a condition (like PIDinRootline).

Put this at the end of a TS template and the following TS is not getting parsed (even TS code in the same template directly below those lines):

/*
// [PIDinRootline = 0]
[global]*/

It may be reproducible with even less code lines; I’m unsure about the real cause.
I tested this with the following TS on a SUB-PAGE or on the same page, to verify it really isn’t getting parsed/handled:

page.headerData.40 = TEXT
page.headerData.40.value = <meta name="test" />

It won’t take effect.
(Reproduced with Typo3 6.2.21, 24 and 25)

Reviews 1