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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fix-issue-with-taxonomy-bundles-1447178-1.patch | 1.93 KB | jec006 |
Comments
Comment #1
jec006 commentedHere is a patch that will translate the vocab machine names into vids so we can search properly
Comment #2
jec006 commentedComment #3
jec006 commentedhttp://drupal.org/commitlog/commit/24284/0fa725964d87e964ff6dc773c50d251...
Committed