[BUGFIX] Prevent endless loop in recycler folder detection 02/57002/2
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Wed, 16 May 2018 21:16:22 +0000 (23:16 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Fri, 18 May 2018 12:41:09 +0000 (14:41 +0200)
commitbe56e64694de758534c5dd13777aeaf477553daf
tree97ba16d67b3159bb657d7682930fede4169dbe42
parentf66b2a510ca4a853e012562a0836630fd6ba9f52
[BUGFIX] Prevent endless loop in recycler folder detection

Compare folder identifiers instead of folder objects because
objects pointing to the same folder might still be different
object instances.

Change-Id: I78e21b9e68fbaae245d12ac4efb96312b246a847
Releases: master, 8.7
Resolves: #85019
Reviewed-on: https://review.typo3.org/57002
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Tests/Functional/Resource/ResourceStorageTest.php