Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295818

Configuration entity reference field relationship throws error.

$
0
0

In Drupal 8, now we can create entity reference fields for configurations such as blocks. I created an entity field and selected "block" for entity type. When i reference a block, it is visible in the node view. But if I try to create a view and add a relationship for this field, it throws an SQL error. This is true for any kind of config reference field. It doesnt happen for node reference or term reference etc.

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'careers._node__field_block' doesn't exist: SELECT node_field_data.nid AS nid FROM {node_field_data} node_field_data LEFT JOIN {node__field_block} node__field_block ON node_field_data.nid = node__field_block.entity_id AND node__field_block.deleted = :views_join_condition_0 LEFT JOIN {} _node__field_block ON node__field_block.field_block_target_id = _node__field_block.id WHERE node_field_data.status = :db_condition_placeholder_1 LIMIT 1 OFFSET 0; Array ( [:db_condition_placeholder_1] => 1 [:views_join_condition_0] => 0 )


Viewing all articles
Browse latest Browse all 295818

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>