Project

General

Profile

Actions

Bug #100115

closed

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

Added by Tymoteusz Motylewski about 1 year ago. Updated 9 months ago.

Status:
Resolved
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

Also available in: Atom PDF