There is a problem in the BC field validation. When the following conditions fulfill in brightcove_field.module at line 287, the module creates an error message, but the $field['widget']['label'] is not available, so we get an error:
if (!$video || (is_null(brightcove_video_cache_get($id)) && $video->id != $id)) {
form_error($element, t('%name: Found no valid video with that name. Please note that it might take several minutes after the video has been uploaded in Brightcove Studio to appear in the API.', array('%name' => t($field['widget']['label']))));
}
If we change this unavailable variable to the $element['#title'], the problem will be solved.
Comments
Comment #1
raspberryman commentedAttached is a patch for 7.x-4.x-dev
Comment #2
Coornail commentedThank you!
Sorry I noticed your issue a bit late and didn't gave credit:
http://drupalcode.org/project/brightcove.git/commit/a2143b06
http://drupalcode.org/project/brightcove.git/commit/af378cdce