An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /entity-autocomplete/bundle/taxonomy_term/section
StatusText: Service unavailable (with message)
ResponseText: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'n.vocabulary_machine_name' in 'where clause': SELECT n.tid AS id, n.name AS label
FROM 
{taxonomy_term_data} n
WHERE  (n.name LIKE :db_condition_placeholder_0 ESCAPE '\\') AND (n.vocabulary_machine_name in ('section')) ; Array
(
[:db_condition_placeholder_0] => %s%
)
in entity_autocomplete_by_bundle() (line 86 of /modules/contrib/entity_autocomplete/entity_autocomplete.module).

Looks like a join with taxonomy_vocabularies is required to do this lookup properly. The taxonomy_term_data table only contains vid

Comments

jec006’s picture

Here is a patch that will translate the vocab machine names into vids so we can search properly

jec006’s picture

Status: Active » Needs review
jec006’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.