Bug #79749
closedException when using link wizard in inline element without default value
100%
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
Updated by Gerrit Code Review almost 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51628
Updated by Gerrit Code Review almost 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51628
Updated by Gerrit Code Review almost 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51628
Updated by Gerrit Code Review almost 8 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51628
Updated by Gerrit Code Review almost 8 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51628
Updated by Gerrit Code Review almost 8 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51628
Updated by Gerrit Code Review almost 8 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51628
Updated by Marcus Schwemer almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7d49d00910a1f907b4f1e83bfebe4afe70f75408.