- Issue created by @marco
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.
Trigger the error, for example adding a reference to article A in article B, and then deleting article A.
Improve the message like this
The referenced entity for @field_label field (@type: @id) is invalid.
Testing.
Better error message.
None.
None.
Active
1.0
Code