At some point whilst initially using video_upload, I added a video to a node and then subsequently deleted it (I can't remember if I did this via the interface or directly in YouTube).

I am now left with the weird situation that "Manage Video Uploads" claims there is a video that is attached to a node and is being processed. However the Video field for that node is empty and no such video is on YouTube. There is no checkbox next to it to delete it and no reference to the file or possible YouTube location.

It gets stranger... If I delete the node that it claims to be associated with, then the interface suggests it's associated with another node (I think it's the most recently-added one, whichever that may be).

Please see attached for screenshot of the relevant part... As you can see, it's finding my YouTube videos fine, but the final one is not deletable.

The main problem this creates is that on the page for the supposedly associated node it often says "Video status is unknown, it is probably being processed".

I have tried disabling, uninstalling, reinstalling the module. I've also tried the dev release and it doesn't resolve the problem.

If I knew where it was stored in the database, perhaps I could find a way to remove it? Any other suggestions?

CommentFileSizeAuthor
#1 video_upload_phantom_video.diff566 bytesbluegray
video_upload1.JPG40.97 KBx3ja
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bluegray’s picture

I think I may have an answer to this, however, I don't know the module well enough to know where to fix it as this bug might be somewhere else as well.
But I'm attaching a patch for the latest dev version that fixes the problem in the admin panel, but again I don't know if this is a good way to do it.

Basically, it just checks if a node's video id is not empty before adding the node to the video list.