[TYPO3-dev] 6.0 / deleting files the correct way

Jigal van Hemert jigal.van.hemert at typo3.org
Thu Jan 17 16:15:26 CET 2013


Hi,

On 17-1-2013 15:48, Christian Weiske wrote:
> Steffen Ritter now wrote the following in 42294[1]'s review:
>
>> The delete action should definitely delete the file in the file system
>> - if and only if no existing relations to the file are present. The
>> file list will always show all files present in file system and won't
>> show files which are only present in the database
>
> This goes away from the database, working directly on files.
>
> Should the deleted files be at least marked up as deleted, e.g. by
> striking them through?
>
> Shouldn't deleting the file also delete the record?
>
> How is trash handled in this case?

And what about the recycler feature of the filelist in TYPO3 < 6.0 [1] ?

[1] 
http://xavier.perseguers.ch/tutoriels/typo3/articles/trash-in-fileadmin.html

-- 
Jigal van Hemert
TYPO3 Core Team member

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list