Other non-related sync tasks entities are removed when a sync with remove orphans runs

Created on 4 December 2023, 7 months ago
Updated 26 February 2024, 4 months ago

Problem/Motivation

If there is more than one external entity syncing, and any of the sync has the "remove orphans" check enabled, all synced entities not related to the current running sync are removed. We should filter the removed entities by type.

Steps to reproduce

  1. Create 2 external entities synchronizations for different entities.
  2. Run the first sync
  3. Run the second sync with "Remove Orphans" enabled. All content from first sync are removed.

Proposed resolution

Check destination entity type when removing orphans.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain Juanjol Navarra

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024