Issue Bug Closed

#79749Exception when using link wizard in inline element without default value

Marcus Schwemer 02/10/17, 16:54 updated 10/02/18, 11:02

Description

Using an link-wizard within an inline element with out an default value leads to an php exception because of the strict type hinting in the function call.

Error message

Argument 1 passed to TYPO3\CMS\Backend\Form\Element\InputLinkElement::getLinkExplanation() must be of the type string, null given, called in [...]/typo3_src/typo3/sysext/backend/Classes/Form/Element/InputLinkElement.php on line 203 

Solution:

Allow “null” as possible value of $itemValue.

Patch will follow

Reviews 1