[BUGFIX] Processed folder in a sub folder is shown 90/20490/3
authorBenjamin Mack <benni@typo3.org>
Sat, 4 May 2013 10:41:35 +0000 (12:41 +0200)
committerPhilipp Gampe <philipp.gampe@typo3.org>
Sun, 19 May 2013 16:11:39 +0000 (18:11 +0200)
commitb5285f84c41e5515f5c75c88f24cb0e46ad9e503
tree6440f63e012834738500ce4d6a1df970d4c60a24
parent6000cdfd918b72e81a946889e170163dad27750a
[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/20490
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php