[BUGFIX] Return InaccessibleFolder for non existing processed folder 97/36397/3
authorFrans Saris <franssaris@gmail.com>
Fri, 30 Jan 2015 08:50:03 +0000 (09:50 +0100)
committerFrans Saris <franssaris@gmail.com>
Fri, 30 Jan 2015 22:03:51 +0000 (23:03 +0100)
commit4fd48231b9af678deaa3fe7b3c88c802ed5537db
treef9ec9c1d58d74d93f8f93392fbd1cdf3606a3172
parent2922b8c8e00b7d96786da136159c4794dd915b90
[BUGFIX] Return InaccessibleFolder for non existing processed folder

When the processed folder of a folder isn't present the ResourceStorage
tries to create it. When storage is offline or write-only this will fail
and as a result you run into exceptions on several places in BE.

This change makes sure there is a InaccessibleFolder object returned
in these cases.

Resolves: #61688
Releases: master, 6.2
Change-Id: Ie32c09f8d322914234860903c18ca44ff5cbf5db
Reviewed-on: http://review.typo3.org/36397
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/core/Classes/Resource/ResourceStorage.php