[BUGFIX] Return InaccessibleFolder for non existing processed folder 36/32836/5
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 12:30:31 +0000 (13:30 +0100)
commitfbb70dd7bbbaa6332833d92b6a122b794b272e76
tree25644482b3a401a3ff290f8eb03bd0646eefa905
parent3c78bf8f8b68c46a4573f56aabf175ddd63dc991
[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/32836
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Tested-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
typo3/sysext/core/Classes/Resource/ResourceStorage.php