Issue Bug Closed

#102014RTE FolderLinkHandler crashed on non-existing folder

Jochen Roth 09/22/23, 11:08 updated 07/09/24, 15:19

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

Reviews 4

History 36

  1. Jochen Roth changed description 09/22/23, 11:08

  2. Gerrit Code Review pushed patch set 1 for main to change 81178 status New Under Review 09/22/23, 11:13

  3. Gerrit Code Review pushed patch set 2 for main to change 81178 09/22/23, 12:02

  4. Gerrit Code Review pushed patch set 1 for 12.4 to change 81149 09/22/23, 13:00

  5. Anonymous commented and changed status Under Review Resolved done 0 % 100 % 09/22/23, 13:10

    Applied in changeset commit:1284cc7bbf9a606346712201d8e0724e81f021c9.

  6. Benni Mack changed status Resolved Closed 07/09/24, 15:19