The target_type property is incorrectly of type DataReferenceTargetDefinition

Created on 18 July 2019, almost 5 years ago
Updated 25 October 2023, 8 months ago

Problem/Motivation

We've noticed this bug because of #3068744: Not possible to filter by properties for items with multiple DataReferenceTargetDefinition properties β€” necessary for using filtering with Dynamic Entity Reference and Entity Reference Revisions β†’ , which made us thinking if the target_type property should be of the type DataReferenceTargetDefinition and we think that it should not. The reason is that DataReferenceTargetDefinition stands for specific target, but an entity type simply is not a target. The bundle of an entity type might be a bundle, or a specific entity might be a target, but not the entity type itself. Therefore the property should be simply DataDefinition.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany hchonov πŸ‡ͺπŸ‡ΊπŸ‡©πŸ‡ͺπŸ‡§πŸ‡¬

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.69.0 2024