If I create a directional relation node(content_type)->taxonomy_term(vocab) I get an error when using the autocomplete field from the relation add block.
I don't have any error if I chose "All taxonomy term bundles" and it works this way. But it mean I can point to any term from any voc
StatusText: Service unavailable (with message)
ResponseText: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'vocabulary_machine_name' in 'where clause': SELECT taxonomy_term_data.tid AS entity_id, :entity_type AS entity_type, NULL AS revision_id
FROM
{taxonomy_term_data} taxonomy_term_data
WHERE (taxonomy_term_data.name LIKE :db_condition_placeholder_0 ESCAPE '\\') AND (vocabulary_machine_name IN (:db_condition_placeholder_1))
LIMIT 12 OFFSET 0; Array
(
[:db_condition_placeholder_0] => %ten%
[:db_condition_placeholder_1] => myvocab
[:entity_type] => taxonomy_term
)
in EntityFieldQuery->execute() (line 1136 of /var/...).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | issue-1365432-add-taxonomy-relation-3.patch | 1003 bytes | mr.york |
Comments
Comment #1
sanmikele commentedHaving same issue with dev version:
Comment #2
mr.york commentedComment #3
mr.york commentedI've attached the patch which fixes this problem.
Comment #4
mr.york commentedI've commited last patch.
Comment #5.0
(not verified) commentedSaid contrary than wanted