Hi,
I have on D6 nodes which are 1) attached to vocabularies and 2) attached to content taxonomy fields.
After some hours I was successfully in migration of the 2) content taxonomy fields using this patch: http://drupal.org/files/content_taxonomy-migration-fails-1208164-16.patch from http://drupal.org/node/1208164#comment-6572690

Somehow the 1) node-term relationship is not correctly migrated. May be to make it somewhat more complicated..I also use hierarchical select for those node-term relationship.

Is there a solution using Migrate to only Migrate the node-term relationship because the rest is correctly migrated by other solutions?

Thanks a lot in advance for your reply!
Greetings, Martijn

Comments

Summit’s picture

Hi,

This stuff worked for me http://drupal.org/node/1364354#comment-5342654 ...do not know why.
The tables field_data_taxonomy_vocabulary_1 etc...for all VID;s where not filled during the migrate :(

INSERT INTO field_data_taxonomy_vocabulary_1 (entity_type,bundle,deleted,entity_id,revision_id,language,delta,taxonomy_vocabulary_1_tid) SELECT te.* FROM field_data_taxonomyextra te INNER JOIN taxonomy_term_data td ON te.taxonomyextra_tid=td.tid WHERE td.vid=1;
INSERT INTO field_revision_taxonomy_vocabulary_1 (entity_type,bundle,deleted,entity_id,revision_id,language,delta,taxonomy_vocabulary_1_tid) SELECT te.* FROM field_revision_taxonomyextra te INNER JOIN taxonomy_term_data td ON te.taxonomyextra_tid=td.tid WHERE td.vid=1;

DELETE te, tr FROM field_data_taxonomyextra te INNER JOIN field_revision_taxonomyextra tr INNER JOIN taxonomy_term_data td WHERE te.taxonomyextra_tid=td.tid AND tr.taxonomyextra_tid=td.tid AND td.vid=1;

Greetings, Martijn

mikeryan’s picture

Status: Active » Postponed (maintainer needs more info)

Are you actually using the Migrate module to import content from a D6 site to a D7 site? The patch you reference involves content_migrate, which is the module that handles the upgrade path for CCK fields from D6 to D7 - it has nothing to do with the Migrate module.

Summit’s picture

Hi,
I do not think so...most content where weblinks and cck-fields, therefor I thought it would be easier to do this with the modules at hand.
I would very much like a solution where I can migrate the content without all the hassle...
greetings, Martijn

mikeryan’s picture

Is your question then how to use Migrate instead of content_migrate to migrate this information? In that case, you should be looking at migrate_d2d, which handles D6-to-D7 migration.

Summit’s picture

Hi, Ok thanks for suggestion. Will look into that ! Greetings, Martijn

mikeryan’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

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