who wants it? can we have it?

Currently relation_migrate migrates references information to relation. How about migrating relation to relation?

d6 relation to d7 relation
d7 relation to d7 relation

Comments

chriscalip created an issue. See original summary.

chriscalip’s picture

Issue summary: View changes
chriscalip’s picture

Anyone wanting to do this through a custom glue migration module; I found this very helpful:

https://www.drupal.org/node/1423934#comment-10123660

chriscalip’s picture

This patch introduces class definitions that facilitates migration of relation information from one site to another. Extended on migrate_d2d classes which gives capabilities to integrate with field api. e.g migrating relation's field api fields.

chriscalip’s picture

This is a dx, developer experience, patch that make's use of comment #4 patch . This provides a sub module
relation_migrate_example that makes use of the classes provided by #4 patch to migrate d7 site relation records to another site.

chriscalip’s picture

Sorry #5 provided wrong file patch. This is the right patch that provides module relation_migrate_example

chriscalip’s picture

Status: Active » Needs review
chriscalip’s picture

Issue summary: View changes
marceldeb’s picture

I'm going to test this, very interesting!!! (I am using it for migration of data of subuser module which uses relation

marceldeb’s picture

Status: Needs review » Needs work

Sad but true, when i enable the module from above patches this error shows:

Fatal error: Class 'DrupalRelation7Migration' not found in /opt/lampp/htdocs/test/sites/all/modules/relation/relation_migrate_example/relation_migrate_example.inc on line 15