Process addressfield's administrative area (province) during migration

Created on 23 October 2020, about 4 years ago
Updated 4 July 2024, 5 months ago

Problem/Motivation

Addressfield module (Drupal 7) stores some administrative areas using its ISO code. However, the addressing library in Drupal 8 stores full names.

Steps to reproduce

In Drupal 7 using addressfield, create a node with a location like this:

When you migrate the above to Drupal 8, you get this:

Proposed resolution

Tweak the migrate process plugin so it finds these cases and transforms them accordingly.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain juampynr

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024