Skip to content
Snippets Groups Projects
Commit 2ec69476 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[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/+/82520


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 650e1645
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment