Bug #48893
closedDeleting files with references?!
100%
Description
I have setup a simple editor - granting access to fileadmin/user_upload/
The editor is able to delete files that have references?!?!?!
See attachement for details....
Am I missing some configuration?
Files
Updated by Frans Saris over 11 years ago
When he tries to delete the file he gets a error message that it isn't posible because file is in use.
Updated by Claus Harup over 11 years ago
Hi Frans
I found out that that was the case, but would it not be more userfriendly if the deleteicon wasnt even there?
/Claus
Updated by Ernesto Baschny over 11 years ago
- Target version set to 6.2.0
Not more user-friendly, because it would look like a "bug" ("Where is the delete option?? I'll report that on the core bug tracker...") instead of explaining why he cannot delete.
But I agree that the user interface could be improved in this area, will try to get some input from the UX team on that. thanks for bringing it up.
Updated by Philipp Gampe over 11 years ago
IMHO there should be the icon, but it should not be linked to the action, but rather to an JS pop (onclick) that explains the reason why it is not possible to delete the file.
Updated by Sebastian Fischer over 10 years ago
Currently you get the following message if you try to delete a referenced file.
File not deleted
The file cannot be deleted since it is still used at the following places:
TCA Test [/Home/]
Do we need more informations for the editor?
Updated by Andrea Herzog-Kienast almost 10 years ago
- Assignee set to Frans Saris
You can delete a file with references!
If you have a folder structure like
folder
-- subfolder
--- 3subfolder
The 3subfolder contains files which are used in content elements and are referenced.
If you delete the parent folder "folder" all 3 folders are deleted - even if there are referenced files in the folder.
Updated by Frans Saris almost 10 years ago
- Is Regression set to No
- Sprint Focus set to On Location Sprint
Updated by Frans Saris almost 10 years ago
- Status changed from New to In Progress
Updated by Gerrit Code Review almost 10 years ago
- 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/36413
Updated by Gerrit Code Review almost 10 years ago
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/36413
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36413
Updated by Gerrit Code Review almost 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36413
Updated by Gerrit Code Review almost 10 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36413
Updated by Gerrit Code Review almost 10 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36413
Updated by Gerrit Code Review almost 10 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36413
Updated by Gerrit Code Review almost 10 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36413
Updated by Gerrit Code Review almost 10 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36413
Updated by Gerrit Code Review almost 10 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36413
Updated by Gerrit Code Review almost 10 years ago
Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36413
Updated by Gerrit Code Review almost 10 years ago
Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36413
Updated by Gerrit Code Review almost 10 years ago
Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36413
Updated by Armin Vieweg almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7e50e17911b4ffaaf8971c0af03cf80370b38cfe.
Updated by Anja Leichsenring almost 9 years ago
- Sprint Focus deleted (
On Location Sprint)
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed