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.
Problem/Motivation
The forum_nav_vocabulary variable does not have a migration to D8 (forum.settings).
It looks like this was considered at some point, because there is some commented out code in the MigrateForumConfigsTest.
Proposed resolution
Create the migration.
Remaining tasks
Create the migration, write the test.
User interface changes
None.
API changes
None.
Comment | File | Size | Author |
---|---|---|---|
#6 | 2353667-6.patch | 2.47 KB | micnap |
#5 | 2353667-5.patch | 2.5 KB | micnap |
Comments
Comment #1
ultimikeComment #2
micnap CreditAttribution: micnap commentedComment #3
micnap CreditAttribution: micnap commentedMike,
Not sure how to handle this one. forum_nav_vocabulary sets the vid of the vocabulary to use for the forum vocabulary. That's likely going to be different between d6 and d8. I'm guessing code will have to be written to check the vocabulary name? Or what would be the best way to handle this?
Comment #4
ultimikeHmm - I'm thinking we could make this migration dependent on the d6_taxonomy_vocabulary migration (so vocabularies are migrated first), then use the migration plugin...
-mike
Comment #5
micnap CreditAttribution: micnap commentedPatch attached.
Comment #6
micnap CreditAttribution: micnap commentedSecond attempt.
Comment #7
ultimikeComment #8
benjy CreditAttribution: benjy commentedLooks good.
Comment #9
alexpottCommitted f4b4adf and pushed to 8.0.x. Thanks!