Project

General

Profile

Bug #85019

Updated by Alexander Stehlik almost 6 years ago

 
 When a storage does not have a @_recycler_@ _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: 

 <pre><code class="php"> 
 do { 

 ... 

 while ($recyclerFolder === null && $folder !== $rootFolder); 
 </code></pre> 

 @$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 

Back