Referencing to the file used in the Videoreport field is not allowed. - error
netbear - July 6, 2009 - 11:32
| Project: | Video Upload |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
When I try update node with video_field provided by this module, without uloading new video instead of old one I always get such error and form is not validated(when i creat node everything is ok, video uploading works just fine). So editing the node without uploading new file impossible.

#1
I'm getting this bug as well.
To be clear. I can upload and view the images fine. When I edit a node with a video on it, I cannot save the edited node. I get the following message:
Referencing to the file used in the Video field is not allowed.This is really annoying since the only way to edit a node with a video is to reupload the video with a different name since youtube won't allow duplicate names.
#2
FYI, I think I fixed it by commenting out the following lines in filefield_widget.inc (around line 420)
//$references = module_invoke('filefield', 'file_references', $file);//if ($references['filefield'] == 0) {
// form_error($element, t('Referencing to the file used in the %field field is not allowed.', array('%field' => $element['#title'])));
//}
Probably not the safest way to do it but it works for me.
#3
Getting the same thing here.
Check: http://drupal.org/node/441280
#4
Getting the same thing here.
Check: http://drupal.org/node/441280