Update existing references on save

Created on 4 October 2021, over 3 years ago
Updated 22 September 2023, over 1 year ago

Problem/Motivation

With CER set up on fields that have existing content, re-saving the entity should update the corresponding references.

Steps to reproduce

  1. Create a reference field and add some references.
  2. Set up CER on the field.
  3. Re-saving the entity doesn't set corresponding references, but creating new ones does.

(Bad) workaround: delete all references, save the entity and re-add the references again.

Proposed resolution

Commit existing patch.
https://www.drupal.org/project/cer/issues/2846318 πŸ“Œ Complete Synchronization functionality for existing reference values Needs work
#15

πŸ› Bug report
Status

Closed: duplicate

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

Live updates comments and jobs are added and updated live.
  • 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

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