Posted by adawire on September 11, 2009 at 7:33pm
| Project: | Video Upload |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
When you delete a node not delete local file or YouTube video.
Comments
#1
After quite a long while, finally found the problem with youtube deletion.
You have to do it via Manage Video Uploads (admin/content/video-upload) and after the node was deleted. Then you will be able to select an orphaned video and choose delete.
BUT, there is bug in code which results in deletion process not being executed. So, you have to change function
video_upload_admin_video_delete_confirm_submit($form_id, $form_values)in video_upload.admin.incline 104 should be:
if ($form_values['values']['confirm']) {and line 107:
foreach ($form_values['values']['videos'] as $vid => $value) {#2
Neuronick's change fixed it for me, attaching it as a patch.
#3
#4
Thanks neuronick and bojanz, committed to 6.x.
#5
Committed to 7.x.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.