Needs review
Project:
Video Upload
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
9 Feb 2011 at 12:24 UTC
Updated:
23 Mar 2012 at 13:50 UTC
I noticed that everytime I edit the already uploaded content, the video disappears as it would have never been uploaded. Cron run brings it back but it also uploads the video again to youtube and causes duplicate videos.
Comments
Comment #1
chemicalroman commentedSame problem. Every time I edit one node that has a video, when i save that node, the video gets uploaded again causing duplicates in Youtube.
Comment #2
ddyrr commentedI wasn't able to get beta2 through git, so I had trouble making the usual patch, but I was able to fix the problem by replacing lines 152 to 163 of video_upload.field.inc with the following:
I fixed two problems here. One is that the status was not being updated if it has now finished uploading (it was stuck on 'unknown'), and the default values were being set to empty values, because it was grabbing the wrong data.
Comment #3
ak commentedThe fix in #2 worked for me, thx!