Currently the codebase checks against the {node_types} table to identify the list of legacy content types. The problem with this is that this table doesn't exist in Drupal 4.7 (#2166101: Support for Drupal 4.7), instead it checked for implementations of a hook to decide what content types are available. What I suggest is moving the content type identification logic to a method in DrupalNodeMigration, which could then be overloaded in the Drupal47NodeMigration class I'm working on.

CommentFileSizeAuthor
#1 migrate_d2d-n2215577-1.patch2.64 KBdamienmckenna

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new2.64 KB

Hasn't been tested yet.

damienmckenna’s picture

Status: Needs review » Closed (won't fix)

It turns out that there isn't a way of accessing the DrupalNodeMigration object from migrate_d2d_ui, so the method has to be added to MigrateD2DWizard, and hardcoded so it identifies 4.7. As a result I'm closing this and will do all work in the other issue.