Problem/Motivation

This is a repeat of #1389572: migrate_update_7008() fails with a fatal error when the Migrate module is disabled for update 7203.

My means of reproduction:

  • Migrate module previously used to import content into a organic groups multi-site platform.
  • Migrate module then disabled but not removed.
  • Migrate module updated in preparation for a new site migration
  • Re-enabling migrate added as an update hook
  • Migrate throws fatal error, because even though it appears to be re-enabled before it's own update hooks fire, the code isn't all loaded.
  • Proposed resolution

    Add the thrown exception used in 7008.
    Even better, get to the bottom of stale registry cache or other problem that is making this problem occur even if the migrate module was just enabled as part of the same update process.

    Remaining tasks

    Choose a direction, implement.

    User interface changes

    N/A

    API changes

    Maybe, if presumed cache staleness issue is addressed.

    Data model changes

    N/A

Comments

Grayside created an issue.