Content entity type ids are being gathered in a wrong way

Created on 23 July 2021, almost 3 years ago
Updated 5 July 2023, 12 months ago

Problem/Motivation

Content entity type ids are being gathered in the wrong way in the dynamic_entity_reference_field_views_data(). In my case, some entity types that were created using the ECK module didn't have a translation of their entity type label. They were not included in the list. The relationship plugin wasn't defined for them in a case the current site language is not the default language (English). The relationship plugin was "broken" and JOIN wasn't added to the view query.

Proposed resolution

The patch will be added below.

πŸ› Bug report
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine nikita_tt

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