Term migrations should set revision IDs

Created on 6 January 2024, 12 months ago
Updated 13 March 2024, 10 months ago

Problem/Motivation

The d6_taxonomy_term and d7_taxonomy_term migrations preserver term IDs (tid) but do not set revision IDs (revision_id). At best, this leads to an odd situation: revision IDs for some terms may be smaller than their entity IDs.

Proposed resolution

Since taxonomy terms in Drupal 6 and Drupal 7 do not support revisions, set the revision ID to the same thing as the term ID.

This is consistent with updating a site to Drupal 8.7+ from an earlier version. The update function seems to set the revision ID to the term ID for existing terms.

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

N/A

πŸ“Œ Task
Status

Fixed

Version

10.2 ✨

Component
MigrationΒ  β†’

Last updated about 13 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States benjifisher Boston area

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