[BUGFIX] Unreadable directories must not crash filemount storages 12/35512/2
authorGeorg Ringer <georg.ringer@gmail.com>
Mon, 15 Dec 2014 19:26:13 +0000 (20:26 +0100)
committerAlexander Opitz <opitz.alexander@googlemail.com>
Tue, 16 Dec 2014 13:02:31 +0000 (14:02 +0100)
commit5e1404abd694e7d118c15f62c59db4fbfd955efa
treea8d53af6964663708f9eadba7c424c983b18454e
parent8ec91a6d475b490d9a79faa97dca7b716a933b9e
[BUGFIX] Unreadable directories must not crash filemount storages

If a *single* directory in the fileadmin tree can't be read, the whole
select box of the file mounts is empty.

Just hide the entry which is not readable

Resolves: #63915
Releases: master, 6.2
Change-Id: I96d5472bb284c259b986b88a766b0fa1e6dfca07
Reviewed-on: http://review.typo3.org/35512
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
typo3/sysext/core/Classes/Resource/Service/UserFileMountService.php