ResourceTypeRepository wrongly assumes that all entity reference fields have the setting "target_type"

Created on 17 August 2020, over 4 years ago
Updated 23 January 2024, about 1 year ago

Problem/Motivation

With the core patch 🐛 ResourceTypeRepository wrongly assumes that all entity reference fields have the setting "target_type" Fixed applied and jsonapi_extras 3.15.0 special entity relation fields are not working anymore as in 3.15.0 ConfigurableResourceTypeRepository::getRelatableResourceTypesFromFieldDefinition was added which overwrites ResourceTypeRepository::getRelatableResourceTypesFromFieldDefinition.

Steps to reproduce

Apply patch 🐛 ResourceTypeRepository wrongly assumes that all entity reference fields have the setting "target_type" Fixed and use a dynamic entity reference field.

Proposed resolution

This patch should be applied, if 🐛 ResourceTypeRepository wrongly assumes that all entity reference fields have the setting "target_type" Fixed get commited to core.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇩🇪Germany kfritsche 🇩🇪🇪🇺

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024