Migrating taxonomy terms while preserving term IDs

In the base DrupalTermMigration class (migrate_d2d/taxonomy.inc):

  1. Changed
  2. $this->addSimpleMappings(array(''name', 'description', 'weight'));
  3.  
  4. To
  5. $this->addSimpleMappings(array('tid','name', 'description', 'weight'));

After adding this, my terms imported properly and tids where preserved.



Article Information
Article ID Categories Tags Levels Status
#40
Free
Open