Add field label

Created on 12 November 2024, about 1 month ago

Problem/Motivation

This is a simple way to improve one of the most common error messages in entityreference:

The referenced entity for @field_label field (@type: @id) is invalid

With many referenced fields it may be hard to understand which field we're talking about.

Steps to reproduce

Trigger the error, for example adding a reference to article A in article B, and then deleting article A.

Proposed resolution

Improve the message like this

The referenced entity for @field_label field (@type: @id) is invalid.

Remaining tasks

Testing.

User interface changes

Better error message.

API changes

None.

Data model changes

None.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇮🇹Italy marco

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024