[BUGFIX] Prevent endless loop in recycler folder detection 85/56985/3
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 10:26:04 +0000 (12:26 +0200)
commit12a8eaf21d556c53abfd39fc0e6ffc5407f9c695
treed9543fdca13be68157934bed56e82301e6444a3c
parent47f2a769c375dd9723d75ee16bdc181827b62286
[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/56985
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
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