donttrustem / Drupal_migrate

0 stars 0 forks source link

Migration task not compatible with newer version of Migrate #1

Open steinmb opened 9 years ago

steinmb commented 9 years ago

Fail with multiple errors:

Passing an empty first parameter to a migration constructor is now deprecated - pass through the arguments array passed to the leaf class instead.

The field mapping arguments() method is now deprecated - please use subfield notation instead.
The field mapping arguments() method is now deprecated - please use subfield notation instead.

Notice: Undefined variable: unmapped_sources in LaPerlaxmlimport->__construct() (line 137 of /Users/steinmb/sites/migrate_blog/drupal-7.x-dev/sites/all/modules/Drupal_migrate/perla.inc).

Recoverable fatal error: Argument 1 passed to Migration::addUnmigratedSources() must be of the type array, null given, called in /Users/steinmb/sites/migrate_blog/drupal-7.x-dev/sites/all/modules/Drupal_migrate/perla.inc on line 137 and defined in Migration->addUnmigratedSources() (line 420 of /Users/steinmb/sites/migrate_blog/drupal-7.x-dev/sites/all/modules/migrate/includes/migration.inc).
steinmb commented 9 years ago

@donttrustem the fix in commit 5bc5a0e should at least stop the site and code from breaking when loaded.

steinmb commented 9 years ago

And commit da29d1dc93e07fab3c6ba43885d5e380f6731a5e should remove the warnings about deprecated subfield notation though I did not make much sense to me defining a default input format on a file. I left it in there anyway, I might have read it wrong.