Project

General

Profile

Actions

Bug #103681

closed

TypoScript Condition tree.pagelayout logs error in file list module

Added by Christoph Lehmann 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-04-19
Due date:
% Done:

100%

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

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]
Actions #1

Updated by Christian Kuhn 7 months ago

  • Status changed from New to Needs Feedback

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

Actions #2

Updated by Christoph Lehmann 7 months ago

  • Status changed from Needs Feedback to Closed
  • % Done changed from 0 to 100

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

Actions

Also available in: Atom PDF