Custom fields in the view are missing

Created on 20 June 2025, 14 days ago

Hello, I have installed these two modules:

Custom Field and Custom Field - Viewfield

I create some custom fields in the view, Extracting View Result Set Using Twig, As follows:

{% set data = drupal_view_result('node_custom_field', 'data') %}

In version 3.1.7, I obtained the following view field values:

Node
 {#8281 β–Ά}
      +_relationship_entities: []
      +index: 0
      +"node__field_basic_field_basic_years": "xxx"
      +"node__field_basic_field_basic_path": "xxx"
      +"node__field_basic_field_basic_climate": "xxx"
      +"node__field_basic_field_basic_geo": "xxx"
      +"node__field_basic_field_basic_keywords": "xxx"
      +"node__field_basic_field_basic_level": "xxx"
      +"node__field_basic_field_basic_urcode": "xxx"
      +"node_field_data_nid": "277"
      +"nid": "277"

Now in version 3.1.8 to 3.1.11, the custom field has been lost:

Node
 {#2911 β–Ά}
      +_relationship_entities: []
      +index: 0
      +"node_field_data_nid": "242"
      +"nid": "242"
      +"field_node_node_field_data_id"

The above is the problem I have discovered, I don't know if others have the same problem.

πŸ› Bug report
Status

Active

Version

3.1

Component

Miscellaneous

Created by

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

Comments & Activities

Production build 0.71.5 2024