[BUGFIX] Prevent ResourceDoesNotExistException 94/42594/2
authorAndre Hähnel <andre.haehnel@netresearch.de>
Fri, 9 Jan 2015 13:47:40 +0000 (14:47 +0100)
committerFrans Saris <franssaris@gmail.com>
Fri, 14 Aug 2015 14:10:29 +0000 (16:10 +0200)
commit40520424793bd6cdd349ee509eea4ec8358c269c
tree31da4cdd09c3ff93251ed931824bb7530b4fc022
parent67053c923c7c795ea45c5d1b6d36bb0d578e7417
[BUGFIX] Prevent ResourceDoesNotExistException

An exception is thrown if the show info popup is opened by sys_file uid
for a file which does not exist anymore in filestorage.

This change marks the file as missing so no exception is thrown in
ElementInformationController but a error message is shown to the user
about the missing file.

Resolves: #64214
Releases: master, 6.2
Change-Id: I460013e21db149760a1b391d9cdbd68b6530d190
Reviewed-on: http://review.typo3.org/42594
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php