Closed (won't fix)
Project:
Migrate Extras
Version:
6.x-1.0-beta1
Component:
Private Messages
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2010 at 07:57 UTC
Updated:
23 Jun 2011 at 22:52 UTC
When trying to import private messages, the following errors are thrown:
Parameter 1 to privatemsg_migrate_prepare_privatemsg() expected to be a reference, value given in /Users/rocketeerbkw/dev/druportal/profiles/druportal/modules/migrate/migrate.module on line 57.
Invalid argument supplied for foreach() in /Users/rocketeerbkw/dev/druportal/profiles/druportal/modules/privatemsg/privatemsg.module on line 1644.As it turns out, the first error is thrown for any module implementing hook_migrate_prepare_privatemsg(). The problem is that the module is calling migrate_invoke_all() when it should be calling migrate_destination_invoke_all().
This needs to be changed in two places, line 77 and 100 of privatemsg.migrate.inc.
I've looked at CVS HEAD and the same problem is there as well.
Comments
Comment #1
mikeryanMigrate and Migrate Extras V1 are no longer supported - see #984050: Privatemsg code for 2.x branch for V2 support for privatemsg.