Link field bug on none existing node reference

Created on 27 November 2023, about 1 year ago
Updated 11 January 2024, 12 months ago

Problem/Motivation

Saving node that references a deleted node in a link field results in 404 response.

Steps to reproduce

  • Reference node B (ID= 2) in the link field of node A (ID= 1)
  • Delete the referenced B node
  • Open the edit mask of node A
  • In link field you will still see the reference of node B
  • "entity:node/2" is displayed in URL field instead of "node B (2)"

Proposed resolution

the reference should be removed with an error that the previously referenced node is deleted.

Remaining tasks

NA

User interface changes

NA

API changes

NA

Data model changes

NA

Release notes snippet

NA

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Field 

Last updated 1 day ago

Created by

🇩🇪Germany msq

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024