Bug #102804
closedPHP Warning: Undefined array key "type"
100%
Description
If you insert something like "t3://abc?uid=1" into the typolink field
and save this record, the following error message appears
(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception PHP Warning: Undefined array key "type" in /typo3/sysext/core/Classes/DataHandling/SoftReference/TypolinkSoftReferenceParser.php line 173
or a click on the popup icon
(1/1) #1460581769 TYPO3\CMS\Core\LinkHandling\Exception\UnknownLinkHandlerException LinkHandler for abc was not registered
Updated by Markus Klein 11 months ago
- Status changed from New to Needs Feedback
The PHP Warning could/should be fixed.
But the second thing is valid. There is probably no such LinkHandler.
What is your expected behaviour?
Updated by Igor Neyman 11 months ago
Markus Klein wrote in #note-1:
What is your expected behaviour?
In my opinion: Flash message (Warning) and tabs (page, file, etc.).
This allows you to select the correct value.
Updated by Oliver Bartsch 11 months ago
Please note that it's not possible to store such link in TYPO3 >11 via FormEngine. However, the bug still exists and can be triggered in case such link is already stored in then database and the link validator does analyse such link.
Updated by Gerrit Code Review 11 months ago
- Status changed from Needs Feedback to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82422
Updated by Gerrit Code Review 11 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82422
Updated by Gerrit Code Review 11 months ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82387
Updated by Oliver Bartsch 11 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 449bf0299d561397b2fe54d6d125cc216c2a7f03.