Add media entity type settings to respect field values for Slideshow duplicate detection

Created on 22 August 2022, over 2 years ago
Updated 25 April 2024, 10 months ago

Problem/Motivation

In #3301731: Write a media_duplicates provider for Slideshow Media type we created a media_duplicate provider for the media entity "slideshow". Currently, if the slideshow has the same media entities in the same order, it is flagged as a "duplicate".

We should add additional "duplication condition" settings, to let the user decide, under what circumstances a slideshow entity is flagged as a duplicate. For example: "Flag as duplicate when the referenced entities are included, but ignore the slideshow order".

We could also create a separate submodule of "media_duplicates" to create an interface for other media entity types to inherit this functionality from.

As this isn't totally specific to slideshow, it might also later be added (e.g. as a submodule) to media_duplicates.

Proposed resolution

Create "duplication addition settings" in the media entity type form (/admin/structure/media/manage/slideshow). Each form field should have a boolean checkbox indicating if the field and its value should be included in the checksum creation.

Feature request
Status

Active

Version

4.0

Component

Code

Created by

🇩🇪Germany Grevil

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