Project

General

Profile

Actions

Bug #103953

closed

Site config settings can't be used in TypoScript conditions anymore

Added by Philipp Kitzberger 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2024-05-29
Due date:
% Done:

100%

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

Description

TypoScript conditions generally support the usage of constants.
But with the refactoring of the TypoScript parser in version 12 site constants cannot be used anymore!

How to reproduce:
  • Add a constant to a site's settings.yaml file
  • Create a condition based on it
[{$foo} == 'bar']
page.20 = TEXT
page.20.value = the site constant "foo" is "bar" 
[global]

For a constant set in regular TypoScript constant files or sys_template records it's still working though.


Files


Related issues 3 (1 open2 closed)

Related to TYPO3 Core - Bug #103364: Site config settings can't be used to override constants anymoreNew2024-03-11

Actions
Related to TYPO3 Core - Bug #102452: TypoScript constants from site settings are not substituted in Backend Extbase ModulesClosed2023-11-22

Actions
Related to TYPO3 Core - Feature #97816: New TypoScript parserClosed2022-06-27

Actions
Actions

Also available in: Atom PDF