[BUGFIX] Catch exceptions for inaccessible storages 62/36562/6
authorPhilipp Gampe <philipp.gampe@typo3.org>
Sun, 1 Feb 2015 10:46:51 +0000 (11:46 +0100)
committerAlexander Opitz <opitz.alexander@googlemail.com>
Tue, 28 Jul 2015 08:31:43 +0000 (10:31 +0200)
commit4ada4f8119d15c6c52b2ae286a9623d50f79345d
tree98fedbd75df0db01aec5e86a49e6cd932b0523b9
parentaf7b2f96cdac233daba3abdfd3e5639f1889e2a1
[BUGFIX] Catch exceptions for inaccessible storages

A storage might be (temporary or permanently) not available in the
current file system. Then it should be displayed as inaccessible
(offline).
Catch all exceptions while trying to fetch permissions for any related
folders.
Only display paste icons for browsable storages.

Resolves: #64714
Releases: master, 6.2
Change-Id: I803d1d2dad919fefebf9b37c60b40a7a440bc6d5
Reviewed-on: http://review.typo3.org/36562
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Ingo Schmitt <is@marketing-factory.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
typo3/sysext/backend/Classes/Utility/IconUtility.php
typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php
typo3/sysext/core/Classes/Resource/Exception/ResourcePermissionsException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/Folder.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php