Entity Reference convert Entity ID to Label issue

Created on 9 February 2019, over 5 years ago
Updated 31 May 2024, 27 days ago

Ran into a problem converting some entity-reference fields form Entity ID to label, figured out that in the TranslateEntityProcessor processor plugin it was assuming that the data-definition has the method getPropertyDefinitions, which isn't always the case. In some circumstances, the data definition is the correct DataReferenceDefinitionInterface itself and we can pull the entity type ID directly.

🐛 Bug report
Status

Needs work

Version

1.2

Component

Code

Created by

🇺🇸United States grathbone

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.

  • 🇮🇳India HarishST Kerala

    I stumble upon this issue while trying to integrate `core_views_facets` module.
    I tried the patch it was failing since it was made for a different version.

    I have re-rolled the patch for the latest version of facet (3.0.x).
    I hope this will help someone.

Production build 0.69.0 2024