Project

General

Profile

Actions

Bug #100106

closed

UnableToLinkException incompatible with returnLast=result

Added by Philipp Kitzberger about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Frontend
Start date:
2023-03-07
Due date:
% Done:

100%

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

Description

When using Typolink's returnLast option 'result' (new in TYPO3 11.4) and somehow causing an UnableToLinkException there's a TypeError!

TYPO3\CMS\Frontend\Typolink\UnableToLinkException::getLinkText(): Return value must be of type string, TYPO3\CMS\Frontend\Typolink\LinkResult returned


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #101186: Cleanup UnableToLinkExceptionClosedThomas Hohn2023-06-28

Actions
Actions

Also available in: Atom PDF