Skip to content
Snippets Groups Projects
Commit 3743a109 authored by Daniel Siepmann's avatar Daniel Siepmann Committed by Benni Mack
Browse files

[BUGFIX] Fix type error in TCA table wizard for null values

When using renderType textTable for text fields in TCA, the controller
will pass the currently stored value to underlying API. This API always
expects a string. Most of the time those fields might have null as
default in persistence leading to a PHP TypeError.

Therefore a check is added which will fall back to empty string as
proper default for internal API.

Resolves: #92761
Releases: master, 10.4, 9.5
Change-Id: I29ef4076e21a1f93f9b6834afcc163c4041a0909
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66381


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarXavier Perseguers <xavier@typo3.org>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent b9262085
Branches
Tags
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