Project

General

Profile

Actions

Bug #103440

closed

TypoScript left-hand side of assignement doesn't work with constant

Added by Florian Rival about 1 month ago. Updated about 1 month ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
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

TS error.png (60.1 KB) TS error.png Florian Rival, 2024-03-20 14:43

Related issues 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Florian Rival about 1 month 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
Actions #3

Updated by Christian Kuhn about 1 month ago

Actions #4

Updated by Christian Kuhn about 1 month ago

  • Status changed from New to Needs Feedback
Actions #5

Updated by Christian Kuhn about 1 month ago

I tend to set issue to rejected since this will not be implemented again. Is that ok with you?

Actions #6

Updated by Christian Kuhn about 1 month ago

  • Status changed from Needs Feedback to Rejected
Actions

Also available in: Atom PDF