Entity reference field value is NULL

Created on 28 February 2023, over 1 year ago

Problem/Motivation

Entity reference field value returns NULL but taxonomy term reference works fine.

Steps to reproduce

1. Create new content type "Author" with default fields
2. Create new content type "Event"
3. Add the node entity reference with "Author" content type with autocomplete field.

create a file "1_author_node.content.yml" with below values

- entity: "node"
  type: "author"
  title: "Author"
  status: 1
  uid: 1

Create a file "2_events_node.content.yml" with below values

- entity: "node"
  type: "events"
  title: "Events First Page"
  status: 1
  uid: 1
  path:
    alias: '/events-first-page'

  field_author:
    - '#process':
      callback: 'reference'
      args:
        - 'node'
        - type: 'author'
          title: 'Author'
      dependency: '1_author_node_content.yml'

Enable the module and import the content.

Autocomplete entity reference field value is NULL.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Component

Code

Created by

🇮🇳India Gopinath Dhayalan

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

Comments & Activities

Production build 0.71.5 2024