[BUGFIX] Typoscript ">" operator removes too much
page = PAGE page { 10 = COA 10 { 10 = TEXT 10.value = A 20 = TEXT 20.value = B 30 = TEXT 30.value = C } } page.10.30 > This correctly unsets 'page.10.30', but also 'page.10.10' which should be kept of course. The patch fixes this by avoiding a bogus removeChildByName(). Resolves: #102831 Related: #97816 Releases: main, 12.4 Change-Id: Iab66e9c3187588cb403f7c4e65145863314817d3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82559 Tested-by:core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Classes/TypoScript/AST/AbstractAstBuilder.php 0 additions, 3 deletions...sysext/core/Classes/TypoScript/AST/AbstractAstBuilder.php
- typo3/sysext/core/Tests/Unit/TypoScript/AST/AstBuilderInterfaceTest.php 94 additions, 1 deletion...ore/Tests/Unit/TypoScript/AST/AstBuilderInterfaceTest.php
Please register or sign in to comment