Migrate sync flag using state API appears to be broken.

Created on 10 March 2023, almost 2 years ago
Updated 14 July 2023, over 1 year ago

Problem/Motivation

I believe that the new way that migrate_tools executes with the sync flag is not working as expected.

Correct me if I'm wrong, but when I look at the way that sync works I see two issues.
1. Ids are added to state, but are never removed
2. If you are migrating more than one entity type there could be an ID collision. user, and node might have the same ID and appear to be the same thing when syncing.

https://git.drupalcode.org/project/migrate_tools/-/blob/6.0.x/migrate_to...

I believe this might be a useful test for this. https://git.drupalcode.org/project/migrate_queue_importer/-/blob/2.x/tes...

πŸ› Bug report
Status

Needs review

Version

6.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States trackleft2 Tucson, AZ πŸ‡ΊπŸ‡Έ

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

Comments & Activities

Production build 0.71.5 2024