make EntityReference::importUrl aware of its context

Created on 12 May 2025, 3 days ago

Problem/Motivation

A fix to 🐛 EntityReference::importUrl() should log when data is missing from the JSONAPI Active is rather limited at the moment, as it only can say the URL it is trying to retrieve.

It would be better if this method were aware of the parent entity ID that it's working with, and the name of the field if there's a field involved.

This method works with quite a few things which are non-fields, e.g. EmbeddedEntityImporter, so need to figure out something generic.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

4.0

Component

Code

Created by

🇬🇧United Kingdom joachim

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

Comments & Activities

Production build 0.71.5 2024