Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | brightcove-migrate-field-handler-bug-2555205-1.patch | 2.26 KB | threequarks |
Comments
Comment #2
threequarks CreditAttribution: threequarks commentedComment #3
threequarks CreditAttribution: threequarks commentedComment #5
tamasd CreditAttribution: tamasd at Pronovix commentedThanks for the patch
Comment #6
jan.mashat CreditAttribution: jan.mashat at Pronovix for BrightCove commented