My Configuration
Video 6.x-3.4
Acquia Drupal 1.2.21
CCK (Built In)
Steps to recreate
->configuring a node with a cck widget type Video
->Enable auto conversion video & Enable auto thumbnail video
->Make sure Title is a mandatory field(Its ok,If you have any other field as mandatory)
->Just Upload a video leaving the title empty
->Select a thumbnail and press save
->You get a Validation failed message & a Message saying that the file was queued for processing (see snapshot1.png)
->Now put in a title and save
->Now you get a user warning saying that there is a duplicate entry in the video_rendering table (see snapshot2.png)
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | uploadfield_convert.inc_691200-6.patch | 5.42 KB | iLLin |
| #1 | snapshot1.png | 60.06 KB | venkiparam |
| #1 | snapshot2.png | 29.31 KB | venkiparam |
Comments
Comment #1
venkiparam commentedadding the missed out snapshots
Comment #2
hypertext200Seems our insertion API is calling when validate videos, I will fix it.
Comment #3
venkiparam commentedThanks heshanmw. Any updates on this issue ?. I checked the CVS Commit messages and didn't see any updates relating to this issue.
Comment #4
venkiparam commentedAny updates on this issue
Comment #5
iLLin commentedI will look at this issue today.
Comment #6
iLLin commentedOk I got this tracked. I am attaching a patch for the uploadfield_convert.inc file. There is also some "extra" stuff in there commented out for future stuff im working on that will include converting your video on save. I have it working but the module itself needs other files I have created, one being a conversion class. I'm working with Heshan to get this stuff worked in. Anyway this will fix your duplicate entry problem.
-d
Comment #7
hypertext200Comment #8
navaneeth_r commentedHi
I applied your patch. I got Fatal error: Call to undefined function video_tmp_load_video() errors. Function missing in this patch.
Thanks
Comment #9
hypertext200This patch worked for me. I have tested it. Did u upgrade your module to latest and add the patch in to it?
Comment #10
iLLin commentedPorted to 3.x-dev and 4.x-dev.