Closed (fixed)
Project:
Ubercart Auction
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Mar 2009 at 00:04 UTC
Updated:
3 Apr 2009 at 17:10 UTC
After creating a View to list all of my unexpired auctions, rather than behaving normally if there are no items to list in the view I get an error instead, saying that the following query is incorrect on line 32 of uc_auction_handler_field_bid_count.inc
SELECT nid, COUNT(*) as count FROM uc_auction_bids WHERE nid IN () GROUP BY nid in <...>/uc_auction_handler_field_bid_count.inc
I'm sure this is a relatively minor problem, but I figured I should mention it... I'd try to fix it myself if I were more familiar with PHP & SQL.
Comments
Comment #1
davidcgutman commentedIt looks like the error is specifically when you include the bid count field, if I don't include it in my view the error disappears.
Comment #2
Garrett Albright commentedAcknowledged. Thanks.
Comment #3
Garrett Albright commentedThis appears to have been fixed on my local machine for some time now. I did another CVS commit; the fix ought to show up when the next dev release is packaged.