Incompatible with the dynamic_entity_reference module

Created on 20 October 2021, about 3 years ago
Updated 7 February 2023, almost 2 years ago

Problem/Motivation

If you are using a taxonomy term reference field on your content types provided by the dynamic_entity_reference module, then the referenced entities won't be picked up on the term delete form.

Steps to reproduce

  • Install the dynamic_entity_reference
  • Add a Dynamic taxonomy reference field to a content type
  • Add a node with a referenced term
  • Go to delete the term
  • Don't see the referenced node

Proposed resolution

The data structure for these fields is slightly different but the basic logic in this module will work. An update to the checks in `prevent_term_delete_form_alter` will make this module work for both.

Will get a patch up and over as the site I'm working on has a mix of taxonomy reference fields.

Cheers

Tom

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom blacklabel_tom

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