WorkflowDeleteForm should extend EntityDeleteForm

Created on 26 July 2023, 11 months ago
Updated 12 September 2023, 9 months ago

Problem/Motivation

WorkflowDeleteForm extends EntityConfirmFormBase, not EntityDeleteForm. EntityDeleteForm displays consequences of deleting configuration dependencies. Currently a workflow config entity can be deleted without the site admin being aware of consequential configuration changes.

Steps to reproduce

1. Delete a workflow
2. See confirmation page without config changes

Proposed resolution

Change base class

Remaining tasks

Do it!

User interface changes

Deleting a workflow displays "Configuration updates", if any.

API changes

None

Data model changes

None

Release notes snippet

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Workflows 

Last updated 2 months ago

Created by

🇺🇸United States mglaman WI, USA

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024