Issue Bug Closed

#103681TypoScript Condition tree.pagelayout logs error in file list module

Christoph Lehmann 04/19/24, 09:55 updated 04/25/24, 11:00

Description

TYPO3 version: 12.4.14
Url: /typo3/module/file/list
Error Message: Expression could not be parsed.
Source: TYPO3\CMS\Core\TypoScript\IncludeTree\Visitor\IncludeTreeConditionMatcherVisitor::visitBeforeChildren at line 166

Condition:

[tree.pagelayout == "pagets__newsletter"]
...
[end]

Reviews 0

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

History 2

  1. Christian Kuhn commented and changed status New Needs Feedback 04/24/24, 05:02

    That’s the same as with other extbase based BE modules, right? You need to sanitize the condition path lookup with traverse().

  2. Christoph Lehmann commented and changed status Needs Feedback Closed done 0 % 100 % 04/25/24, 11:00

    Yes, checked it, it’s the same. Thank you!