Project

General

Profile

Actions

Bug #100115

closed

Copy operator < replaces previous reference operator result in TypoScript, v12

Added by Tymoteusz Motylewski over 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2023-03-07
Due date:
% Done:

100%

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

Description

This is a change of behavior in TypoScript v12.

Given TS:

lib.prototype {
    fields {
        content {
            fields {
                header = TEXT
                header {
                    field = header
                }
            }
        }
    }
}

lib.additionalField {
    fields {
        content {
            fields {
                enlargeImageOnClick = true
            }
        }
    }
}

testElement =< lib.prototype
testElement < lib.additionalField

testElement {
    fields {
        content {
            fields {
                subheader = TEXT
                subheader {
                    field = subheader
                }
            }
        }
    }
}

tt_content.testElement =< lib.prototype
tt_content.testElement < lib.additionalField

tt_content.testElement {
    fields {
        content {
            fields {
                subheader = TEXT
                subheader {
                    field = subheader
                }
            }
        }
    }
}

In v11 it looked like:

In v12 it is:

see missing "=< lib.prototype" in v12.
What is also interesting. Is that neither in v11 nor in v12 there is no "=< lib.prototype" if the testElement is on the root level of TS.


Files

clipboard-202303071819-mhee9.png (131 KB) clipboard-202303071819-mhee9.png Tymoteusz Motylewski, 2023-03-07 17:19
clipboard-202303071820-nkssh.png (126 KB) clipboard-202303071820-nkssh.png Tymoteusz Motylewski, 2023-03-07 17:20

Related issues 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Christian Kuhn over 1 year ago

Actions #2

Updated by Tymoteusz Motylewski over 1 year ago

still exists in 12.4.3

Actions #3

Updated by Christian Kuhn over 1 year ago

lib.base = TEXT
lib.base.value = base
lib.foo1.stdWrap.wrap = before1|after1

tt_content.header >

tt_content.header =< lib.base
tt_content.header < lib.foo1

page = PAGE
page.10 < styles.content.get

v11: "before1baseafter1"
v12: ""

Actions #4

Updated by Christian Kuhn over 1 year ago

  • Status changed from New to Accepted
Actions #5

Updated by Gerrit Code Review over 1 year ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80461

Actions #6

Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80461

Actions #7

Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80461

Actions #8

Updated by Gerrit Code Review over 1 year ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80461

Actions #9

Updated by Gerrit Code Review over 1 year ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80461

Actions #10

Updated by Gerrit Code Review over 1 year ago

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80461

Actions #11

Updated by Gerrit Code Review over 1 year ago

Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80461

Actions #12

Updated by Gerrit Code Review over 1 year ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80509

Actions #13

Updated by Anonymous over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #14

Updated by Benni Mack 4 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF