Running migrate:import for node entity with --update modifies CHANGED timestamp

Created on 12 May 2022, about 2 years ago
Updated 16 August 2022, almost 2 years ago

Problem/Motivation

When you have a node migration and run "migrate:import" a second time with the "--update" option it modifies the "changed" value of the node to be the current timestamp and ignores the value from the migration.

Steps to reproduce

Run a node migration.
Run the node migration a second time with the "--update" option.

Proposed resolution

Fix the entity logic so that rerunning a migration does not change the "changed" timestamp if it is specifically defined in the migration (which is usually is).

Remaining tasks

Work out where the fix should go.

User interface changes

n/a

API changes

TBD

Data model changes

TBD

πŸ› Bug report
Status

Active

Version

6.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

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.69.0 2024