Project

General

Profile

Actions

Bug #61917

closed

Delete old workspace versions for editors in FAL

Added by Markus Klösges over 9 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2014-09-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

After update to 6.2.4 (and possibly another installation on 6.1.7) and migration to FAL we have following problem with workspaces and deleting files:

Non privileged users are not allowed to delete files with references - that's ok and don't need a change.
But it seems that published versions of Workspace-pages are kept somewhere in DB and therefore create sys_file_reference-s which prevent the user from deleting a file that was used sometime ago but anymore at that time.

By using the cli_lowlevel cleaner and removing published versions I can temporarily fix this issue, because it deletes those references so that a user can delete those files. But I need a possibility for a user to do that on their own.
IMHO the workflow should be asking the user if the referenced in old versions should be deleted before deleting the file.

Additionally the error message is not acceptable here, if you try to delete such a file (with references in published - old workspaces) it says:
"Datei nicht gelöscht
Die Datei kann nicht gelöscht werden, weil sie noch an den folgenden Orten benutzt wird:"
without displaying where its used. Maybe this is another point though - the Element in which it is referenced is a templavoila-element which has no title assigned. But in this case there should at least the uid of the element or such be displayed.

Any ideas about this?


Files

cattura1.png (67.7 KB) cattura1.png Riccardo De Contardi, 2020-01-30 00:36
cattura2.png (61.8 KB) cattura2.png Riccardo De Contardi, 2020-01-30 00:40
cattura3.png (65 KB) cattura3.png Riccardo De Contardi, 2020-01-30 00:42
cattura4.png (203 KB) cattura4.png Riccardo De Contardi, 2020-01-30 00:44
cattura5.png (60.9 KB) cattura5.png Riccardo De Contardi, 2020-01-30 00:51

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #64253: Fix incorrect calculation of file references in workspacesClosed2015-01-13

Actions
Related to TYPO3 Core - Bug #92190: sys_refindex handling with postgres fails sometimesClosed2020-09-04

Actions
Related to TYPO3 Core - Task #92189: sys_refindex testing in DataHandler functional testsClosed2020-09-04

Actions
Related to TYPO3 Core - Bug #92345: Skip sys_refindex rows for workspace placeholdersClosed2020-09-19

Actions
Actions

Also available in: Atom PDF