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.
The Voting API module does not have migration support. There is support in Migrate Extras but it doesn't work properly in my tests. Specifically, it doesn't correctly fill the mapping table which makes rollbacks and updates impossible.
This could be fixed in Migrate Extras but that module is abandoned in favour of implementing migrations in the modules itself. Hence, I am trying here. I have used a different class name so that there are no clashes if someone already uses migrate_extras.
Comment | File | Size | Author |
---|---|---|---|
#3 | add_migration_support-2697163-3.patch | 6.52 KB | hussainweb |
| |||
#3 | interdiff-2-3.txt | 2.46 KB | hussainweb |
Comments
Comment #2
hussainwebAttached the patch. I am testing it on my project and it works great (even with migrate_extras installed).
Comment #3
hussainwebHere are some performance improvements. Mainly to optimize for the memory usage and fixing a bug that would result in a lot more recalculations than necessary.
Comment #5
pifagor