[BUGFIX] Automatic creation of processed files folder fails 06/19206/5
authorAndreas Wolf <andreas.wolf@typo3.org>
Fri, 22 Mar 2013 21:54:24 +0000 (22:54 +0100)
committerSteffen Ritter <info@rs-websystems.de>
Fri, 5 Apr 2013 23:05:54 +0000 (01:05 +0200)
commit966d2a47d2ad2ceb272cd50e9674fca7d9a0cbb1
treee7d3919185b378b52dcb1aab735569464d44744b
parent9dd0f268438b5e054e6c8bdebf1505b56b737cd8
[BUGFIX] Automatic creation of processed files folder fails

The ResourceStorage tries to automatically create the processed files
folder if it does not exist. The identifier of the folder is taken from
the storage's configuration.

The automatic creation however fails, because when splitting the
identifier (e.g. /someFolder/_processed_/) by '/', the resulting array
always contains empty elements. Creating a folder with an empty name
fails however; therefore, empty elements should be skipped.

Change-Id: Ia9d0fe5314f67cb01da20682dfb684b711bc3cf7
Resolves: #46586
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19206
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/core/Classes/Resource/ResourceStorage.php