Actions
Bug #96391
openError with File storage tree when using filter
Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2021-12-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Stabilization Sprint
Description
A “Navigation loading error” shows when a user:
- has a file mount to a folder in a storage (not root of storage)
- in the folder tree, something is searched on where a search hit is expected (a folder name)
- After this, reload of folder tree will also reproduce the error
- The error will not show if searching on term where result is not expected
Files
Updated by Stig Nørgaard Færch almost 3 years ago
Updated by Stig Nørgaard Færch almost 3 years ago
Suggestion for fix:
diff --git a/public/typo3/sysext/backend/Classes/Controller/FileStorage/TreeController.php b/public/typo3/sysext/backend/Classes/Controller/FileStorage/TreeController.php
--- a/public/typo3/sysext/backend/Classes/Controller/FileStorage/TreeController.php
+++ b/public/typo3/sysext/backend/Classes/Controller/FileStorage/TreeController.php (date 1639999714118)
@@ -98,7 +98,7 @@
]
);
$isParent = true;
- $nextFolder = $nextFolder->getParentFolder();
+ $nextFolder = $nextFolder->getStorage()->getFolder($nextFolder->getStorage()->getFolderIdentifierFromFileIdentifier($nextFolder->getIdentifier()), true);
} while ($nextFolder instanceof Folder && $nextFolder->getIdentifier() !== '/');
// Add the storage / sys_filemount itself
$storageData = $this->treeProvider->prepareFolderInformation(
Updated by Riccardo De Contardi over 2 years ago
- Category set to Backend User Interface
This issue seems still present on 12.0.0-dev (latest main)
Updated by Riccardo De Contardi over 2 years ago
- Sprint Focus set to On Location Sprint
Updated by Oliver Hader about 2 years ago
- Sprint Focus deleted (
On Location Sprint)
Updated by Łukasz Uznański about 1 year ago
Hi,
I can't reproduce this issue on current main v13. Looks like code in TreeController is a bit different now. Are there any additional steps required?
Actions