Commit 41a2775
[BUGFIX] Rework Flexform data handling in TcaFlexPrepare
The previous code in `TcaFlexPrepare->initializeDataValues()` was pretty
optimistic regarding the incoming data and may booted XML parsing on
empty strings and did not consider `null` values.
The code is changed to check now whether the incoming data is not null
and not an empty string before using it at all.
Resolves: #104962
Releases: main, 13.4
Change-Id: If8dbffdc82b1a1e53409e0417d5ddd7a25ed6946
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/87684
Reviewed-by: Andreas Kienast <akienast@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Andreas Kienast <akienast@scripting-base.de>
Tested-by: core-ci <typo3@b13.com>1 parent 7b7bc70 commit 41a2775
File tree
1 file changed
+10
-11
lines changed- typo3/sysext/backend/Classes/Form/FormDataProvider
1 file changed
+10
-11
lines changedLines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 96 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
| |||
0 commit comments