Skip Imported processor overwrites newer data if there is no import_status entity

Created on 29 September 2025, 4 days ago

Problem/Motivation

    // If there is no information on when this entity was last imported, it
    // means that probably it hasn't been - so it should be importable.
    if (!$import_status_entity) {
      return TRUE;
    }

This causes data loss!!!

Consider if the client and the server are from the same database, in a setup used to deploy content between environments.

Suppose that entity A is in both databases and in the client there is a newer revision.

Meanwhile, the user pulled entity B, which references A.

The bug means that A will get pulled even though the server's copy is older.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇬🇧United Kingdom joachim

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

Merge Requests

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