d6 term node migration changes revision log on wrong revision

Created on 7 August 2019, almost 6 years ago
Updated 21 May 2025, 18 days ago

Problem/Motivation

While testing #2746541: Migrate D6 and D7 node revision translations to D8 there were problems in the revisions tab after the migration. When rerunning the migration without translation enabled the problem persisted. This issue is to resolve fix whatever is wrong with the revisions.

The following is the problem description from Comment #86 in #2746541: Migrate D6 and D7 node revision translations to D8

The d6 fixture has node 1 with 3 revisions and post migration only the latest one shows up on the revisions tab, node/1/revisions.

Screenshots:
Drupal 6, node/1/revisions

Drupal8, node/1/revisions

Proposed resolution

For both d6 and d7 more testing of the revision migration is needed.
The d6 fixture appears to be broken in regard to node 1 and it's 3 revisions. Adjusting that seems to help, however, maybe a revert action should be done on node 1? Not sure about that.
The d7 fixture needs a new node with revisions.

The migration of the revisions, that is d6_node_revision and d7_node_revision work correctly. That is good news.
The remaining problem is that d6_term_node_revision adds the revision log entry of the current revision to the first revision of node 1. Maybe another node can be added to the fixture to confirm that.

Screenshots:
Drupal 6, node/1/revisions

Drupal8, node/1/revisions

The D7 results are ok
Drupal 7

Drupal 8 d7 migration

Remaining tasks

Add more tests of the node revisions for D6 and D7
Modify the d7 fixture by adding a new node, with revisions but without translations
Modify the d6 test fixture to correct the vids.
Find out why the revision log is incorrect for story node nid=1, vid=1 when the migration is done via the UI. Or maybe a followup.

🐛 Bug report
Status

Postponed

Version

11.0 🔥

Component

migration system

Created by

🇳🇿New Zealand quietone

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