Modules: Migrate 7.x-2.7 , Brightcove Video Connect 7.x-6.0-beta2
File : brightcove_field.migrate.inc

The problem:

if (isset($values['arguments'])) {
$arguments = array_filter($values['arguments']);
unset($values['arguments']);
}

This results in $values , which only has "arguments" as an element, becoming empty.

Later , we are iterating through this via

foreach ($values as $value)

which builds up a $return array , populated by the brightcove_id and player values. However, this is never executed , because of the "unset" above.

Patch for this attached.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

threequarks created an issue. See original summary.

threequarks’s picture

threequarks’s picture

Issue summary: View changes

  • Yorirou committed 85f2b85 on 7.x-6.x
    Issue #2555205 by threequarks: MigrateBrightCoveFieldHandler is...
tamasd’s picture

Version: 7.x-6.0-beta2 » 7.x-6.0-rc1
Status: Active » Fixed

Thanks for the patch

jan.mashat’s picture

Status: Fixed » Closed (fixed)