Actions
Bug #97147
closedPHP Warning: Undefined array key "title" in EXT:linkvalidator/Classes/Linktype/InternalLinktype.php
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Linkvalidator
Target version:
-
Start date:
2022-03-08
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Title is not set when a linked content element exists but is not located on the linked page.
PHP Warning: Undefined array key "title" in sysext/linkvalidator/Classes/Linktype/InternalLinktype.php line 309
Steps to reproduce¶
- Create a text content element and link to an existing content element.
- Change the page of that link to a page on which this CE is not located or move the content element to a different page.
- Check links through Linkvalidator
Fix¶
- $errorParams['content']['title'], + (string)($errorParams['content']['title'] ?? ''),
Updated by Gerrit Code Review over 2 years ago
- Status changed from New 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/+/73897
Updated by Gerrit Code Review over 2 years 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/+/73897
Updated by Gerrit Code Review over 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/+/73952
Updated by Oliver Bartsch over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f64615295f46d4ef408042b9b629e3dc437204bb.
Actions