after adding term fields with Content Taxonomy Fields relationship and when i try update them at first time i get error mesage
"An error occured at /admin/build/views/ajax/config-item/MY_VIEW_NAME/default/field/MY_TERM_FIELD_NAME."
and error log that contains:
"user warning: Column 'tid' in field list is ambiguous query: SELECT DISTINCT(node.nid) AS nid, node.title AS node_title, node_data_field_brand.field_size_value AS node_data_field_brand_field_size_value, node.type AS node_type, node.vid AS node_vid, node_data_field_brand.field_kolvo_value AS node_data_field_brand_field_kolvo_value, node_data_field_brand.field_edizm_value AS node_data_field_brand_field_edizm_value, node_data_field_brand.field_roznica_value AS node_data_field_brand_field_roznica_value, node_data_field_brand.field_note_value AS node_data_field_brand_field_note_value, node_data_field_brand.field_valuta_value AS node_data_field_brand_field_valuta_value, term_data_node_data_field_brand__term_fields_term.disq1 AS term_data_node_data_field_brand__term_fields_term_disq1, term_data_node_data_field_brand__term_fields_term.tid AS term_data_node_data_field_brand__term_fields_term_tid, term_data_node_data_field_brand__term_fields_term.disq2 AS term_data_node_data_field_brand__term_fields_term_disq2, disq3, tid FROM node node LEFT JOIN content_type_prod1 node_data_field_brand ON node.vid = node_data_field_brand.vid LEFT JOIN term_data term_data_node_data_field_brand ON node_data_field_brand.field_brand_value = term_data_node_data_field_brand.tid LEFT JOIN term_fields_term term_data_node_data_field_brand__term_fields_term ON term_data_node_data_field_brand.tid = term_data_node_data_field_brand__term_fields_term.tid WHERE (node.status <> 0) AND (node.type in ('prod1')) AND (node.vid IN ( SELECT tn.vid FROM term_node tn WHERE tn.tid = 144 )) GROUP BY nid ORDER BY node_data_field_brand_field_roznica_value ASC in /home/vodopro/public_html/6/sites/all/modules/views/includes/view.inc on line 769."
that not critical - after reupdate error don't showing

and one more error
in views, when term_field is zero (Numeric value = 0) it don't appears in table (empty cell)
thanks for module!

Comments

hass’s picture

b-prod’s picture

Status: Active » Closed (fixed)

Issue #618814: No term fields saved if integer fields are empty has been fixed and it should resolve your problem. If not, feel free to reopen the issue.