Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
Migrate 2.8
Features and enhancements
- #2379289: migrate-import --update does not seem to work as expected, if map is not joinable, due to highwater field?
- #2403643: Migration::applyMappings() unable to handle multifield subfields
- #2472045: Add language subfields only if field is translatable
- #2474809: Obtuse error message when migration dependencies are missing
- #2397791: MigrationBase::handleException should handle multiple errors via field_attach_validate()
- #2309563: Add support for running migrations via wildcard name
- #2095841: Add MigrationBase methods to enable/disable mail system.
- #2419373: Performance improvement when using Source migrations in combination with MigrateSQLMap
- #2141687: Make error messages include more information when migrating files
Bug fixes
- Field sanitization added to prevent possibility of XSS - see security advisory https://security.drupal.org/node/155268.
- #2447115: Mapping editor does not properly save XML mappings
- #2497015: Remapping taxonomy terms breaks term reference import on dependant migrations
- #2488560: MigrateSourceList and MigrateSourceMultiItems getNextRow() stops after only one iteration
- #2446105: Source fields getting reset as "do not migrate" after mapping and saving
- #2415977: /tmp is hard-coded in migrate_ui
- #2475473: Drush idlist option broken
- #2465387: Unknown option: --stop during migrate-import via Drush
Important: If you are upgrading from Migrate 2.5 or earlier
Migration developers will need to add the "advanced migration information" permission to their roles to continue seeing all the info in the UI they're used to.
Auto-registration (having classes be registered just based on their class name, with no call to registerMigration or definition in hook_migrate_api()) is no longer supported. Registration of classes defined in hook_migrate_api() is no longer automatic - do a drush migrate-register or use the Register button in the UI to register them.
Migration class constructors should now always accept an $arguments array as the first parameter and pass it to its parent. This version does support legacy migrations which pass a group object, or nothing, but these methods are deprecated.