illepic / downfall-guild

The Drupal migration, redesign, and maintenance for Downfall
www.downfallguild.org
6 stars 2 forks source link

Taxonomy tagging needs a plugin to map old tids to deduped new tids #30

Closed illepic closed 8 years ago

illepic commented 8 years ago

There were a few duplicate terms between the old WoW and Forums vocabs. To dedupe these, we need a plugin that returns the proper lookup.

So far this is the lookup table from project/build/dev/d8/modules/custom/df_migration/config/install/migrate_plus.migration.upgrade_d6_taxonomy_term.yml:

61: 6 # Guild Officer, all content refs instead to tid 6 (Raid Officer)
18: 56 # Guild tag, updating all content refs instead to tid 56 (Guild Discussion)
19: 39 # Other, updating all content refs instead to tid 39 (Everything Else)
26: 102 # Raid, content refs to 102 instead (General Raid Discussion)
31: 56 # Relations, covnerting all content refs to 56 (Guild Discussion)
33: 79 # PvP, converting all refs to 79 (PvP)
41: 77 # Hunter, tid
42: 72 # Mage
43: 66 # Paladin
44: 74 # Priest
45: 68 # Warlock
47: 67 # Rogue
48: 73 # Shaman
49: 71 # Warrior
50: 70 # Druid
51: 69 # Death Knight
53: 63 # UI, convert to 63
illepic commented 8 years ago

This is handled in TaxonomyLookup.php process plugin now.