Deleted orphaned content deletes content from other external entity types

Created on 26 July 2023, over 1 year ago
Updated 20 September 2023, over 1 year ago

Problem/Motivation

When I synchronize the entities of a specific external entity type, if I check 'Removed orphaned content', if there exists content synchronized from other external entity types, those are also deleted.

Steps to reproduce

  1. Create 2 external entity types synchronized with any content type.
  2. Synchronize the first entity type.
  3. Synchronize the second entity type checking "Remove orphaned content".

After this the nodes created by the first synchronization are deleted.

Proposed resolution

In SyncForm.php create a new field called xntttype, so that when the orphaned content is removed, only orphaned content having xnnttype with the value of the current external entity type will be removed,

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇪🇸Spain omarlopesino

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

Comments & Activities

Production build 0.71.5 2024