acangiani / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
1 stars 0 forks source link

OperationalError in get_intersection_by_model with nonexistant tags #120

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ProgrammingError at ...
syntax error at or near ")" LINE 5: AND "tagging_taggeditem".tag_id IN () ^ 

Fix: a simple check for found tags quantity before that query to
short-circuit the error.

Original issue reported on code.google.com by aenor.realm on 27 Apr 2008 at 8:37

Attachments:

GoogleCodeExporter commented 9 years ago
Duplicate of Issue 114.

Original comment by jonathan.buchanan on 30 Apr 2008 at 10:53