The new 'Exclude Cloned' option does not work

Created on 16 November 2022, over 2 years ago
Updated 12 July 2023, almost 2 years ago

Problem/Motivation

The new 'Exclude Cloned' option does not work. ContentEntityCloneBase::setClonedEntityLabel checks for the no_suffix option to be 1, but this option is stored in config as a boolean.

Steps to reproduce

Enable the 'Exclude Cloned' setting and clone an entity together with a referenced entity. The referenced entity will still have the Cloned suffix.

Proposed resolution

Check for a truthy value instead of checking for 1.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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