While trying to disable Migrate Example, got an error: drupal Class 'BeerTermMigration' not found in ... base.inc.

Temporarily solved (?) by changing migrate_example.install:

require_once DRUPAL_ROOT . '/' . drupal_get_path('module', 'migrate_example') .
'/beer.inc';
require_once DRUPAL_ROOT . '/' . drupal_get_path('module', 'migrate_example') .
'/wine.inc';
require_once DRUPAL_ROOT . '/' . drupal_get_path('module', 'migrate_example') .
'/beer.install.inc';
require_once DRUPAL_ROOT . '/' . drupal_get_path('module', 'migrate_example') .
'/wine.install.inc';

Comments

mikeryan’s picture

Title: uninstallation failes » Error when disabling migrate_example

I think changes since 2.5 should take care of this - I'll dig in a little more closely.

mikeryan’s picture

Status: Active » Fixed

Right, the current disablement code only calls the deregister API, the only place it would try to instantiate a non-existent migration has an exception handler, so this shouldn't happen any more.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

UPD: trying to disable, not uninstalling