Actions
Bug #79749
closedException when using link wizard in inline element without default value
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-02-10
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
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
Actions