FluidTYPO3 / flux

TYPO3 extension Flux: Dynamic Fluid FlexForms
https://fluidtypo3.org
145 stars 214 forks source link

Core: Error after Update 12.4.10 #2150

Closed edesignagentur closed 4 months ago

edesignagentur commented 10 months ago

After updating to 12.4.10 yesterday the following Error appears: Core: Error handler (BE): PHP Warning: Undefined array key "type" in /typo3_src-12.4.8/vendor/fluidtypo3/flux/Classes/Builder/FlexFormBuilder.php line 80

flux: 10.0.9

ghwaldo commented 8 months ago

I know this Error from other Extensions too.

Search for flexforms xml files. Some fields now require Render Type Tag such as "select" or so.

NamelessCoder commented 5 months ago

I doubt that renderType is the reason for this. It more seems like TYPO3 is now capable of passing a FlexForm identifier array which does not contain the type attribute. The solution in that case would be to guard the input in FlexFormBuilder line 80, like if (($identifier['type'] ?? null) !== 'flux') { or similar.