[BUGFIX] Processed folder in a sub folder is shown 32/19732/6
authorNicole Cordes <typo3@cordes.co>
Sun, 7 Apr 2013 11:17:36 +0000 (13:17 +0200)
committerBenjamin Mack <benni@typo3.org>
Sat, 4 May 2013 10:35:49 +0000 (12:35 +0200)
commit77b0b2e829fa8c4d1fce292bbc1fc28bb897ef67
treef6c9f20cc353ba5e505a37030e0e370de0d3668c
parentc369c2460e0792363925257105659e4abd633f57
[BUGFIX] Processed folder in a sub folder is shown

In the function fetchFolderListFromDriver of the ResourceStorage class the
processed folder is expected to be in root folder. If it is not the
case the processing folder is shown in all filelists and gets processed
as well. The function has to split the processed folder identifier and
compare it to the current path. To secure the patch also the missing Unit
Tests were added.

Change-Id: I7ebde8488938a7000dcfdb99da8c34ee988b666f
Fixes: #47019
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19732
Reviewed-by: Alexander Opitz
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php