Commit 747502b
committed
[BUGFIX] Except when 'renderType' is not string in NodeFactory
In cases where `array_merge_recursive` is used to append
to a TCA configuration multiple times with the same
key, it will lead to transforming an array key with
a single value to an array of values instead.
The NodeFactory can not deal with this case.
This patch throws an exception in case no string
is found, and tries to hint at this possible
array scenario.
Resolves: #106177
Releases: main, 13.4, 12.4
Change-Id: I98ce2bafeabed23cfff6246f4f56918991366396
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/88261
Tested-by: core-ci <typo3@b13.com>
Tested-by: Garvin Hicking <gh@faktor-e.de>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Garvin Hicking <gh@faktor-e.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>1 parent 21d14b3 commit 747502b
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
162 | 168 | | |
163 | 169 | | |
164 | 170 | | |
| |||
0 commit comments