Project

General

Profile

Actions

Bug #97968

closed

Undefined array key "typoLinkParameter" in /var/www/html/typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php line 74

Added by Guido Schmechel almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Link Handling, Site Handling & Routing
Start date:
2022-07-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.0
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

PHP Warning: Undefined array key "typoLinkParameter" in /var/www/html/typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php line 74
https://github.com/TYPO3/typo3/blob/main/typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php#L74

Steps to reproduce
  • Add a invalid redirect, e.g. to t3://page?uid=23424243248324782
  • Route to redirect

There is no typoLinkParameter for an unresolved redirect. Instead, $linkDetails['pageuid'] should be used in the error message.

Reproducable with TYPO3 version 11 and 12.

Actions

Also available in: Atom PDF