[BUGFIX] Processed folder in a sub folder is shown 88/20488/2
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:38:00 +0000 (12:38 +0200)
commitdf13e81fed9fa93ec8af8839b61b2d82e562e471
tree54c29fd6d783b0f4c3908c5bedbd47fb137c6ebc
parent5a38323e5d8e68d05d3a2f92ab3458d5d31f2e5b
[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.2,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
Reviewed-on: https://review.typo3.org/20488
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php