Project

General

Profile

Actions

Bug #102014

closed

RTE FolderLinkHandler crashed on non-existing folder

Added by Jochen Roth 8 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Start date:
2023-09-22
Due date:
% Done:

100%

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

Description

Given you have a link in bodytext (RTE field) and the user clicks on save:

<a href="t3://folder?storage=1&amp;identifier=%2FDOES_NOT_EXIST%2F">FolderLinkHandler</a>

it will throw this error, because the folder does not exist

Call to a member function getStorage() on null
in /var/www/html/typo3/sysext/core/Classes/LinkHandling/FolderLinkHandler.php line 54
Actions

Also available in: Atom PDF