Discussion: Drop dynamic_entity_reference dependency?

Created on 15 November 2022, about 2 years ago
Updated 17 October 2023, over 1 year ago

Problem/Motivation

https://www.drupal.org/project/dynamic_entity_reference is very special and does very special things. As we found out in a database issue (see CU at DD) it also uses MySQL Triggers, which is quite untypical for Drupal and adds further complexity.

Moving databases around, this may lead to mad MySQL permission issues like

General error: 1449 The user specified as a definer ('xxxxxxx'@'%') does not exist: INSERT INTO ...

for DER fields.
This happens when using DER >= 2.x
see issues like
https://www.drupal.org/project/issues/dynamic_entity_reference?text=trig... or #3204103: Use virtual index instead of triggers

So we should decide, if we're using dynamic_entity_reference widely enough it's worth this!
I'm unsure if it's even easy to understand for users or if we should better drop it generally?

Let's check this more in detail and discuss if we should remove it in future versions.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

4.0

Component

Miscellaneous

Created by

🇩🇪Germany Anybody Porta Westfalica

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