Skip to content
Snippets Groups Projects
Commit 6c50b838 authored by Susanne Moog's avatar Susanne Moog Committed by Georg Ringer
Browse files

[BUGFIX] Check existence of properties before usage

The ImageViewHelper uses properties 'title' and 'alternative' from file
without checking whether they exist or not. This results in an
exception for example with freshly uploaded files.

Releases: master
Resolves: #88222
Change-Id: I2b251e5f885bd00119a958e6bc2275c7e672336f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60568


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarRalf Zimmermann <ralf.zimmermann@tritum.de>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarWilli Wehmeier <wwwehmeier@gmail.com>
Reviewed-by: default avatarRalf Zimmermann <ralf.zimmermann@tritum.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 7ab60903
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