I'm still somewhat new to Drupal, so if I'm making a total newbie mistake, please don't hesitate to tell me.

I love Migrate, as it perfectly fits the project I'm working on, but I'm totally flummoxed by this supposed drush migrate-import --group=name command.

The migrate_example module has examples and instructions for its use, the documentation here on drupal.org has the same, even the group.inc file exists and has plenry of group-related code... but when I try to actually use drush migrate-import --group=name, I get the following error:

Unknown option: --group.  See `drush help migrate-import` for available options. To suppress this error, add the option --strict=0.                                                                                              [error]

I've got a migration class called MRUserMigration written, and it works when I execute drush mi MRUser, so the rest of the system seems fine.

Am I doing something wrong? I'm using Migrate 7.x-2.2 on Drupal 7.12, running in OSX 10.6 on Apache, with Drush 5.0-dev. I've used drush cc all, since I read that it might help, but it didn't work.

Comments

mikeryan’s picture

Status: Active » Fixed

I cannot reproduce this with 7.x-2.x-dev - with migrate_example enabled, drush mi --group=wine works just fine with drush 5.0-dev. Presumably this problem has been fixed since 7.x-2.2, although I don't see an issue in the queue for it...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Clarified a few things.