Closed (fixed)
Project:
Views (for Drupal 7)
Version:
5.x-1.6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jan 2008 at 20:50 UTC
Updated:
15 Nov 2008 at 00:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
darren ohThe attached patch adds a test for empty queries.
Comment #2
digikami commentedshould probably be
Comment #3
darren ohGood catch.
Comment #4
catchBumping priority since there's a few duplicates around.
Comment #5
dropcube commentedIf a module that rewrites queries is installed and an empty query is generated by
_views_get_queryand error is caused due todb_rewrite_sql()generates an incorrect query.The above patch fixes the issue.
Comment #6
suit4 commentedPatch views.module-205390.patch works for me, too.
Comment #7
bwong commentedI found this the hard way, using the Trace module. This patch works for me.
Comment #8
sunThis was already fixed in #247420: SQL error when using empty text as argument default and #217015: Views module sends null query when building a block, and has been committed.
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.