Fatal Ajax Error when adding entity reference to users

Created on 16 January 2025, 3 months ago

Problem/Motivation

Adding an entity reference field for user entities to a custom field results in an Ajax error. I believe this is because Users do not have bundles, and my assumption is that this is true for any bundleless entity.

Steps to reproduce

Create a custom field on an entity. Attempt to add an entity reference to User entities. View the error in the JavaScript console.

Proposed resolution

Add fallback for retrieval of base_plugin_label when it is not set.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada jaypan Victoria, BC

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024