Add the new D7 user->changed property to the migration system

Created on 1 December 2021, almost 4 years ago
Updated 24 May 2025, 4 months ago

Problem/Motivation

As suggested by @heddn in #1835754-46: Add last 'changed' property to user entity , now that D7 has a "changed" property on user entities, D9 should have the ability to include that in migrations from D7.

Steps to reproduce

Do a migration from D7.83 or later.

Proposed resolution

Add the "changed" property to D9's D7 migration code, ensuring that it's optional as older version of D7 will not have it.

Remaining tasks

📌 Allow ChangedItem to skip updating the entity's "changed" timestamp when synchronizing Fixed
Add the field to \Drupal\user\Plugin\migrate\source\d7\User::fields
Patch, review, commit etc..

User interface changes

?

API changes

n/a

Data model changes

n/a

Release notes snippet

n/a

📌 Task
Status

Postponed

Version

11.0 🔥

Component

migration system

Created by

🇬🇧United Kingdom mcdruid 🇬🇧🇪🇺

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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