Skip to content
Snippets Groups Projects
Commit 42fa6520 authored by Andreas Allacher's avatar Andreas Allacher Committed by Morton Jonuschat
Browse files

[BUGFIX] BackendUtility: Skip rendering thumbnails for anything but files

If the stored value in a group field with type file/file_reference is a
folder the thumbCode() method skips rendering a thumbnail for that
resource. This avoids fatal error as the interface of e.g. a Folder is
different to that of a File, missing the ::isMissing() method.

Change-Id: Iedf4b5e5b17d0310811bb862c131cd70e988e72f
Resolves: #66045
Releases: master, 6.2
Reviewed-on: https://review.typo3.org/38240


Reviewed-by: default avatarFrank Nägler <frank.naegler@typo3.org>
Reviewed-by: default avatarDaniel Goerz <ervaude@gmail.com>
Tested-by: default avatarDaniel Goerz <ervaude@gmail.com>
Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
parent 8be9e6d6
Branches
Tags
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