I have a video filefield that I'm transcoding with Video module. Once I've attached a video file to a node and transcoded it, if I delete the node, both the transcoded video (FLV) and the source file are deleted from the file system, leaving the system clean. But if I edit the node and merely remove the file, it deletes the FLV but not the source file, leaving an orphaned file, obviously.

Comments

traviscarden’s picture

Title: Deleting Node Removed Pre-Transcoded Video, but Just Removing the Upload Doesn't » Deleting Node Removes Pre-Transcoded Video, but Just Removing the Upload Doesn't
hypertext200’s picture

Yes, I got the thing, as I feel I may not use filefield hooks properly!!. I will fix it soon :)

okeedoak’s picture

I've noticed the same problem. Subscribing.

iLLin’s picture

I will be reworking this area in 4.x-dev. I am thinking on how to hold the original and then tie the converted module to it. Then removing everything accordingly.

iLLin’s picture

Status: Active » Fixed

Fixed in 4.x-dev. Big update: http://drupal.org/cvs?commit=366886
Thumbnails are now deleted too.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.