Closed (fixed)
Project:
Project issue tracking
Version:
5.x-2.x-dev
Component:
Issues
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2007 at 15:33 UTC
Updated:
12 Nov 2007 at 22:42 UTC
Jump to comment: Most recent file
Comments
Comment #1
hunmonk commentedfeel free to dig for the problem -- we've got a lot of other stuff that's coming in ahead of this... :)
Comment #2
ChrisKennedy commentedThe error was introduced when db_rewrite_sql was added by: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/project_iss... (due to http://drupal.org/node/168760).
In particular, db_rewrite_sql() doesn't do token replacement - db_query does. So the parentheses need to be changed. I don't really understand how db_rewrite_sql works though, so this might not entirely fix the problem and I can't tell from my test environment.
Also, I fixed a nearby error in the taxonomy display, that appears to have been introduced back in June 2006.
Comment #3
ChrisKennedy commentedOkay I was able to test it and confirm that it does fix the bug. The rest of the db_rewrite_query() changes appear to be correct too.
Comment #4
dwwThanks! Committed your db_rewrite_sql() fixes in here to DRUPAL-4-7, DRUPAL-4-7--2, DRUPAL-5 and HEAD. Moved your breadcrumb fix into a separate issue: http://drupal.org/node/185378
Comment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.