Needs review
Project:
Hierarchical Term Reference Autocomplete
Version:
7.x-1.0-alpha3
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Oct 2015 at 10:22 UTC
Updated:
21 Mar 2016 at 09:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Rustan commentedComment #3
twodThe patch was not created from the module root folder so it does not apply cleanly.
Most of it is whitespace changes, the only relevant new line is
if (strrchr($raw_tags_typed, ',') == FALSE || !empty($tids)) {.This should check
$tidsas$tags_typedmay be longer, if what was entered did not match a term, which in turn leads to an SQL syntax error with an emptyt.tid NOT IN ()condition. You likely get a 500-error because DB errors are suppressed by disabled logging.I have that issue with the Alpha 3 release and this change alone fixes it.