Closed (fixed)
Project:
Migrate
Version:
7.x-2.5
Component:
migrate_example
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2013 at 11:47 UTC
Updated:
7 May 2013 at 15:40 UTC
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
Comment #1
mikeryanI think changes since 2.5 should take care of this - I'll dig in a little more closely.
Comment #2
mikeryanRight, 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.
Comment #3.0
(not verified) commentedUPD: trying to disable, not uninstalling