Skip to content
Snippets Groups Projects
Commit 4fc52d9e authored by Thomas Hohn's avatar Thomas Hohn Committed by Christian Kuhn
Browse files

[BUGFIX] Handle that FileLinkHandler:resolveFile() can return null

In the method FileLinkHandler:resolveHandlerData() the call
to FileLinkHandler:resolveFile() handles the FileDoesNotExistException
correctly. But if it returns null this will lead to a type error.
This patch handles the null value properly.

Resolves: #104659
Releases: main, 12.4
Change-Id: Iacf3ef8e72d7c18b4b15758da8780d94a9282a96
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85677


Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 31665e7f
Branches
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment