Bug #85019
closedRecycler folder detection loop does not end
100%
Description
When a storage does not have a _recycler_
folder the loop for detecting the folder in typo3/sysext/core/Classes/Resource/ResourceStorage.php->getNearestRecyclerFolder()
does not end.
The problem seems to be the check for the root folder:
do {
...
while ($recyclerFolder === null && $folder !== $rootFolder);
$folder
and $rootFolder
point to the same directory but are different object instances. Therefore the strict comparison fails here.
This seems to be a regression introduced in #81836
Updated by Alexander Stehlik about 6 years ago
- Related to Bug #81836: deleting a file inside _recycler_ folder generates new file with preview_ prefix added
Updated by Gerrit Code Review about 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56985
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56985
Updated by Gerrit Code Review about 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57002
Updated by Alexander Stehlik about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 12a8eaf21d556c53abfd39fc0e6ffc5407f9c695.