Actions
Bug #103440
closedTypoScript left-hand side of assignement doesn't work with constant
Start date:
2024-03-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
With TYPO3 v12 and the new TypoScript engine, it's not possible anymore to use a TypoScript constant in left-hand side.
Add a constant like this :
lib.test = leftContentValue
And a setup like this :
test.{$lib.test} = The value
test.leftContentValue2 = {$lib.test}
doesn't work for the first line and have weird result for the second line if the first line is present, i.e.:
test.test.leftContentValue2 = leftContentValue
instead of :
test.leftContentValue = The value
test.leftContentValue2 = leftContentValue
Have a look at attached screen capture.
This is a regression with version 12.
Files
Updated by Florian Rival 8 months ago
- Subject changed from TypoScript left-hand side of assignement doesn't work to TypoScript left-hand side of assignement doesn't work with constant
Updated by Christian Kuhn 8 months ago
This is a documented breaking change:
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-97816-TypoScriptSyntaxChanges.html#streamlined-constants-usage
Updated by Christian Kuhn 8 months ago
- Related to Feature #97816: New TypoScript parser added
Updated by Christian Kuhn 8 months ago
- Status changed from New to Needs Feedback
Updated by Christian Kuhn 8 months ago
I tend to set issue to rejected since this will not be implemented again. Is that ok with you?
Updated by Christian Kuhn 8 months ago
- Status changed from Needs Feedback to Rejected
Actions