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

Updated by Georg Ringer almost 2 years ago

  • Status changed from New to Accepted
  • Assignee set to Georg Ringer
Actions #2

Updated by Gerrit Code Review almost 2 years ago

  • Status changed from Accepted 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/+/75246

Actions #3

Updated by Gerrit Code Review almost 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75220

Actions #4

Updated by Georg Ringer almost 2 years ago

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

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF