V2 post updates not working well when there are several entities have metatag field

Created on 24 October 2024, 2 months ago

Problem/Motivation

I noticed it when upgraded from 8.x-1.26 to 2.0.2. After executing post-updates not all fields were changed to json format. There is a small issue in _metatag_list_entity_field_tables() that empties $tables variable on each field storage iteration. As a result tables for the last one are returned

Steps to reproduce

  • On 8.x-1.x add metatag fields to several entity types e.g. node and taxonomy term
  • Upgrade to 2.x
  • Look in the database. The node field still has serialized value and the taxonomy term has updated json values
πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine kadantsew

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024