Error reported for field clone

Created on 14 September 2024, 7 months ago
Updated 19 September 2024, 7 months ago

Problem/Motivation

An error is shown related to field_config already exists when cloning custom_field from another entity type and saving the field.

Steps to reproduce

Create a new custom field and use the clone method that copies config from another entity type.

Proposed resolution

Remove the ->save from $field_config->setSettings($source_field_config->getSettings()); in the submitStorageConfigEditForm function.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States apmsooner

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

Comments & Activities

Production build 0.71.5 2024