Bug #90921
closedContextmenu for sys_filemounts not working
100%
Description
The contextmenu for sys_filemounts is currently broken as it tries to find a file/folder with the given UID because \TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FilemountsProvider
inherits from \TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileProvider
.
If changed to inherit from \TYPO3\CMS\Backend\ContextMenu\ItemProviders\RecordProvider
and adopting the canHandle
method it works but 2 questions still open:
1) Why is there an explicit check in RecordProvider
if (in_array($this->table, ['sys_file', 'sys_filemounts', 'sys_file_storage', 'pages'], true)
|| strpos($this->table, '-drag') !== false) {
return false;
}
2) Why does it work for FileStorageProvider
which also inherits from FileProvider
Updated by Riccardo De Contardi almost 4 years ago
- Category set to Backend User Interface
Updated by Christian Kuhn almost 3 years ago
confirmed. didn't had a deeper look, though.
Updated by Gerrit Code Review over 2 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69800
Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69800
Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69778
Updated by Oliver Bartsch over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8d1ed2dc69b72d2518c0c04c90892642f5a32c25.
Updated by Gerrit Code Review over 2 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69778
Updated by Oliver Bartsch over 2 years ago
- Status changed from Under Review to Resolved
Applied in changeset 1184d7292a2345d672aafdd3396ed13a34e6ca13.