Support revision tracking of entity references in core

Created on 5 October 2016, almost 8 years ago
Updated 9 January 2024, 9 months ago

A key problem with core's field-based data structures is that referenced entities are tracked by their primary ID, not by revision. This makes it difficult to build out complex data structures using Entity Reference and referenced entities, and have the parent content managed using the new Content Moderation feature, because once one of the referenced entities is changed the changes will be publicly visible.

Proposals (pick one):

  1. Extend the core Entity Reference module to (optionally) support revisions.
  2. Merge the existing Entity Reference Revisions module β†’ into core.
✨ Feature request
Status

Needs work

Version

11.0 πŸ”₯

Component
Entity referenceΒ  β†’

Last updated about 19 hours ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

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.

  • πŸ‡ΊπŸ‡ΈUnited States Chris Matthews

    From @catch in the #yes-no-queue channel in Drupal Slack re: this functionality in Core:

    I have a knee jerk reaction against it. I understand using it for commerce where you want to reference a product frozen in time on an order and similarish accounting stuff, it makes me uneasy for content workflow things for reasons similar to the ones fabianx gives on there. This doesn't mean it shouldn't be supported but I think the issue summary needs better pros and cons.

  • πŸ‡ΊπŸ‡ΈUnited States R_H-L

    Given that entity_reference_revisions is currently the 6th most installed across the current codebase, I'd say the demand is there for the functionality to be in core. It's useful in a few places, such as referencing certain revisions of custom content entities as we do in custom blocks for Layout builder, but I admit ours is a corner case. Paragraphs uses this same model and without being able to reference a revision of a child element, reversion is complicated.

Production build 0.71.5 2024