opengraph_meta data are not being migrated to metatag

Created on 17 October 2023, 8 months ago

Problem/Motivation

I updated to the latest version of opengraph_meta, installed metatag and select_or_other, updatedb didn't not fail however nothing have been migrated.

Steps to reproduce

  • Start with a version of opengraph_meta before adding metatag as as a dependency.
  • Download metatag and select_or_other
  • Run updatedb
  • Inspect metatag, it is empty. opengraph_meta table is dropped

Proposed resolution

I found out that the migration script passes a wrong parameter ($row->language) as node bundle metatag_metatags_save('node', $row->nid, $row->vid, $metatags, $row->language);
To fix the migration, don't pass $row->language as metatag_metatags_save() function will be able to calculate the language itself.

Remaining tasks

Write a patch to update the migration script

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia jordan.jamous

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

Comments & Activities

Production build 0.69.0 2024