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.
Please, check my screenshot:
Comment | File | Size | Author |
---|---|---|---|
#4 | cck-1649306-migrate-bundle-empty.patch | 645 bytes | jcisio |
#1 | 0001-After-migrating-bundle-field-is-empty.patch | 947 bytes | mrded |
Screen Shot 2012-06-20 at 17.10.56.PNG | 149.58 KB | mrded |
Comments
Comment #1
mrded CreditAttribution: mrded commentedmy patch
Comment #2
greggmarshallPatch was a couple of lines off on my copy, but manually adding the one line of code in the patch worked for me.
Comment #3
abrao CreditAttribution: abrao commentedThis bug is caused by the undefined variable $node in content_migrate.admin.inc (Line 366) and can be fixed by commenting out that line.
// $query->addExpression("'". $node['type'] ."'", 'bundle');
At some point in April (commit 26099e5) a performance patch was applied. The variable $node that was created prior to this line was removed, but they forgot to remove the reference to $node in the above line. So $node is basically not set prior to this.
The bundle will be set correctly on line 390 ($query->addExpression("'". $node['type'] ."'", 'bundle');), once $node is set.
Comment #4
jcisio CreditAttribution: jcisio commentedThis is a simpler one.
Comment #5
jcisio CreditAttribution: jcisio commentedRTBC because of #3 (I didn't see it yesterday).
Comment #6
brad.bulger CreditAttribution: brad.bulger commentedwill this ever be fixed?
Comment #7
colanThanks! Committed in 9a2cf4c.