Problem/Motivation

When we try to delete the data_policy entity or it translation we receive an error
Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "data_policy" entity type did not specify a "delete" form class. in Drupal\Core\Entity\EntityTypeManager->getFormObject() (line 223 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).

Steps to reproduce

- Go to the data policy list page
- Try to delete any of data policy entity

Proposed resolution

Add delete form in entity annotation.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

tBKoT created an issue. See original summary.

tbkot’s picture

Title: Cannot delete the data_policy enitity or it translation » 3250143-cannot-delete-entity
Status: Active » Needs review
StatusFileSize
new2.28 KB
tbkot’s picture

Title: 3250143-cannot-delete-entity » Cannot delete the data_policy enitity or it translation
StatusFileSize
new1.7 KB

  • chmez committed 659e010 on 8.x-1.x authored by tBKoT
    Issue #3250143 by tBKoT: Cannot delete the data_policy entity or it...
ohorbatiuk’s picture

Priority: Major » Normal
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.