Project

General

Profile

Actions

Bug #85933

closed

UnableToLinkException::getLinkText() must be of the type string, null returned

Added by Gerald Aistleitner almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2018-08-23
Due date:
% Done:

100%

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

Description

The constructor of TYPO3\CMS\Frontend\Typolink\UnableToLinkException::getLinkText() initializes the member linkText with null, which is wrong as it is a string, and therefore leads to an error when accessing linkText via method getLinkText() on an UnableToLinkException that was instantiated without specifying a linkText.

Actions

Also available in: Atom PDF