I am migrating a Drupal 6 site to Drupal 7 site.
I used migrate_d2d module version 7.x-2.x-dev and migrate module version 7.x-2.x-dev.
I copied the migrate_d2d_example module and created my own module.
Everything works well and manged to migrate lots of stuff.
Among other things, I migrated all the forums,forums topics and all their comments.
The only thing that I cannot crack is the following error that I get whenever I browse to every forum page :
Undefined property: stdClass::$forum_tid in forum_node_view() (line 273 of
/var/www/modules/forum/forum.module).
All the forum topics lack their forum.
In other words, when I browse to any migrated forum topic, all the topic's content is there and it's accurate, including all its comments, but the topic doesn't belong to any forum.
So I guess I should map at least one field (the forum id? forum tid?), so that every topic will belong to the forum it belongs to in the original (d6) site.
Can you please advise ?
Thanks in advance
Comments
Comment #1
tamirkorem CreditAttribution: tamirkorem commentedComment #2
tamirkorem CreditAttribution: tamirkorem commentedI've found the reason for it : vid should be identical to nid.
Here's an article that I've written on How to import your drupal 6 sites content to drupal 7
Good luck.
Comment #3
mikeryanvid does not need to be identical to nid, nodes may have multiple revisions, which will de-sync the revision IDs.
What's necessary is to map the 'forums' destination field to the term ID of the forum the nodes should go in. The forum terms themselves should have their own migration, then in the forum node migration you would have:
Comment #4
mikeryan