Bug #100115
closedCopy operator < replaces previous reference operator result in TypoScript, v12
100%
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
Updated by Christian Kuhn over 1 year ago
- Related to Feature #97816: New TypoScript parser added
Updated by Christian Kuhn about 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: ""
Updated by Gerrit Code Review about 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
Updated by Gerrit Code Review about 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
Updated by Gerrit Code Review about 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
Updated by Gerrit Code Review about 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
Updated by Gerrit Code Review about 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
Updated by Gerrit Code Review about 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
Updated by Gerrit Code Review about 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
Updated by Gerrit Code Review about 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
Updated by Anonymous about 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 97d5db5fb65f0c794cbddac1ae465440b840bf12.