Open giannik opened 3 years ago
There's a AttachedMediaFieldFileService
which handles deletion of temporary files on startup. I can't remember if it cleans up old files as well.
Yes , Ive seen that service. Im refering not to temp files but existing files in the content item media folder. Try deleting an existing file and it remains in the folder , The ui shows correctly because the Paths property is updated. Seems to me that in the vue component there is an Isremoved property on the viewmodel which is not updated from the client side.
That's a valid point for "this" field since it's a field per content item. The other media field however could share the same media file from different content item.
While trying to implement a new media editor for media field I noticed that when using attached media file and deleting a media from the admin the media item does not get deleted physically from the related folder, only the file path is updated to an empty string , bit the file remains in the related media folder.
Is this intentional ?