Add support for migrating entity data from Metatags Quick v7.x-2.x.

CommentFileSizeAuthor
#12 metatag-n2618898-12.patch9.5 KBDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna created an issue. See original summary.

andrewmacpherson’s picture

The maintainer of metatags_quick has agreed to concentrate on one metatag project for contrib, see comment 22 in #2275237: [META] Port metatags_quick to Drupal 8.

DamienMcKenna’s picture

Status: Active » Postponed

Postponing this until after 1.0.

DamienMcKenna’s picture

Status: Postponed » Active

8.x-1.0 is out, so this is fair game again.

drootsad’s picture

Any update on this?

I'm looking to migrate my D7 site to D8, but have nearly 4,000 nodes with metatags_quick data that now needs to somehow be migrated to metatag.

DamienMcKenna’s picture

@drootsad: You could try upgrading Metatags Quick to Metatag 7.x-1.x first, so then you could just use Metatag-to-Metatag upgrade (see #2563649: Migrations: Metatag-D7 basic entities).

DamienMcKenna’s picture

DamienMcKenna’s picture

Issue tags: +migrate-d7-d8
DamienMcKenna’s picture

Title: Migrations: Metatags Quick records » Migrations: Metatags Quick per-entity values
Issue summary: View changes
DamienMcKenna’s picture

Title: Migrations: Metatags Quick per-entity values » Migrations: Metatags Quick 2 per-entity values
Issue summary: View changes
DamienMcKenna’s picture

Assigned: Unassigned » DamienMcKenna

Am going to work on this today during the Contrib Half Hour meeting.

DamienMcKenna’s picture

FileSize
9.5 KB

WIP. This is an initial fixtures file. It might need Field API definitions added.

DamienMcKenna’s picture

Per heddn, look at https://www.drupal.org/docs/8/api/migrate-api/generating-database-fixtur... as a way to confirm what the actual fixture needs to contain.

DamienMcKenna’s picture

While looking at this today with a group of folks we realized that this will be a little more complicated to handle.

  • It has to handle multiple fields.
  • It has to leverage the Field API migration system instead of building a custom data migration.
  • It might then need to add "_pseudo_metatags_quick_[tag]" fields in the data mapping for each item.
  • The field_metatag destination will need to combine these values into an array using a custom plugin.

As such, the existing work done for Metatag-D7 isn't overly helpful with the field migration.

DamienMcKenna’s picture

Assigned: DamienMcKenna » Unassigned

Putting this on the backburner for now.

DamienMcKenna’s picture