Actions
Bug #102396
closedInputLinkElement fails parsing nullable fields
Start date:
2023-11-17
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Error:
`PHP Runtime Deprecation Notice: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/vendor/typo3/cms-backend/Classes/Form/Element/InputLinkElement.php line 231`
We have a TCA config which involves a link along with the eval => null.
See full config, that can be used within styleguide Extension:
'input_29' => [
'exclude' => 1,
'label' => 'input_29',
'description' => 'renderType=inputLink',
'config' => [
'type' => 'input',
'renderType' => 'inputLink',
'eval' => 'null',
'default' => null,
],
],
Actions