Closed (fixed)
Project:
Video
Version:
6.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Nov 2010 at 13:45 UTC
Updated:
3 Jan 2014 at 02:41 UTC
Jump to comment: Most recent
Comments
Comment #1
ericpai commentedI fixed both issues. It may not be pretty, but I needed it to work now.
In video.module:
For the deleting of the old thumbnail in function video_upload_manual_thumb(&$element):
For deleting the thumbnails when deleting the video in function video_file_delete($file), Just above video_module_invoke('delete', $file); I added these lines:
Comment #2
Jorrit commentedI have committed a fix for this problem to the 6.x-4.x branch. Deleting the file record when the thumbnail was replaced was already fixed, I added deleting the file from the table when deleting the video. I remove all files within the thumbnail directory from the files table using a LIKE statement. This will also delete old file records that were left over because of this bug.
Comment #3
Jorrit commentedThis fix has been released in Video 6.x-4.3-rc1. Please take a look and test the release candidate.