[BUGFIX] Handle access restrictions on recycler search
Fetching a parent folder may throws an error if the user hasn't access to the parent. This exception needs to be caught and the search for an existing recycler folder needs to be stopped immediately. Furthermore the patch removes the comparison with the root level folder but checks the parent folder doesn't equal the folder itself. Another loop is fixed by calling moveFile on the correct ResourceStorge and not the current one. Resolves: #85079 Related: #81836 Releases: master, 8.7 Change-Id: I51f5e20d7fa7da9b350ac0ca60cab05866a4d337 Reviewed-on: https://review.typo3.org/57052 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Frans Saris <franssaris@gmail.com> Tested-by:
Frans Saris <franssaris@gmail.com>
Please register or sign in to comment