Bug #50871
open
Remove option to delete a File Storage
Added by Frans Saris over 11 years ago.
Updated over 8 years ago.
Category:
Backend User Interface
Sprint Focus:
Remote Sprint
Description
Currently it doesn't make sense you can delete a storage.
When you delete a storage there is no check if there are still files in uses of this storage.
So everywhere where a reference to a sys_file of the deleted storage is present you get a Exception.
If we see a storage as a definition to connect a folder of the physical file system with the TYPO3 file abstraction layer, then we still might allow to remove the storage definition, however should catch the exceptions - or add an option to the install tool to remove a storage, it's sys_file records (not the actual files), sys_file_references and processed files.
- Status changed from New to Accepted
- Is Regression set to No
I just had this case while debugging a broken installation. I think the DataMapper should check in a hook that no files are still in use from that storage (or we disallow deletion completely if that's possible).
- Sprint Focus set to On Location Sprint
- Status changed from Accepted to In Progress
I think, we should left the possibility to delete storages, for example if you moved from a local to a remote storage (or vice versa). Maybe first we need to define scenarios.
But maybe this scenarios lead to a "FAL Management Extension" which is more for admins and not editors (like media).
I also think that deleting orphaned storages should be possible.
- Status changed from In Progress 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 http://review.typo3.org/36456
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36456
- Category deleted (
File Abstraction Layer (FAL))
- Status changed from Under Review to Accepted
The solution here is to deny deletion of any record which is still referenced.
This would also solve #55714
- Status changed from Accepted to New
- Sprint Focus changed from On Location Sprint to Remote Sprint
- Category set to Backend User Interface
- Target version set to Candidate for Major Version
Also available in: Atom
PDF