Project

General

Profile

Actions

Bug #102804

closed

PHP Warning: Undefined array key "type"

Added by Igor Neyman 11 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2024-01-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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
Actions #1

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?

Actions #2

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.

Actions #3

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.

Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

Updated by Oliver Bartsch 11 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF