Crop type delete form doesn't warn of deleting dependent config such as image styles

Created on 5 October 2021, about 3 years ago
Updated 4 September 2024, 3 months ago

Problem/Motivation

When deleting a crop type, any image styles that make use of it are also deleted.

However, the crop type delete form doesn't warn the user of this.

This is because CropTypeDeleteForm extends EntityConfirmFormBase. It should use EntityDeleteForm instead, which makes use of addDependencyListsToForm().

Setting as critical, since this is data loss.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

RTBC

Version

2.0

Component

User interface

Created by

🇬🇧United Kingdom joachim

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

Merge Requests

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