When you run the core migration using Migrate Drupal UI, the two fields provided by the Physical module are not picked up.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna created an issue. See original summary.

DamienMcKenna’s picture

Title: Migrate plugin for dimensions field » Migrations not picked up by core migrations
Issue summary: View changes
DamienMcKenna’s picture

Issue summary: View changes
DamienMcKenna’s picture

WIP. This doesn't work yet, but it seems like these are the pieces that were needed.

DamienMcKenna’s picture

Status: Active » Needs review
DamienMcKenna’s picture

Added getFieldType(), getFieldFormatterMap() and getFieldWidgetMap() to both.

DamienMcKenna’s picture

FileSize
2.93 KB

This is getting closer.

DamienMcKenna’s picture

Title: Migrations not picked up by core migrations » Add support for migrating from D7
Issue tags: +Needs tests

Test coverage would probably be useful too.

Lukas von Blarer’s picture

Works for me. Thank you!

DamienMcKenna’s picture

Status: Needs review » Needs work
Issue tags: +migrate-d7-d8

FWIW it works for me to convert both Weight and Physical Dimensions fields. That said, test coverage would be very useful.