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

raspberryman’s picture

StatusFileSize
new2.23 KB

Attached is a patch for 7.x-4.x-dev

Coornail’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.