Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2008 at 18:47 UTC
Updated:
19 May 2008 at 18:21 UTC
If I use this field, I get the following MySQL error:
SELECT files.fid AS fid, nid FROM files files LIMIT 0, 10 in /mounted-storage/home61c/sub001/sc37964-JLVH/test/dru6/sites/all/modules/views/includes/view.inc on line 592.
Sometimes I got the error about wrong syntax near nid IN (,,,,,,,). I can't reproduce this situation now, but I've got it several times.
Comments
Comment #1
dpantele commentedOk, I've reproduced the second situation.
Only select all fields, available for 'files' type while creating a view. You need to have at least one node with uploaded files.
The full error text is
The query was
Comment #2
merlinofchaos commentedThis should be fixed; note that the fix will cause views with these fields to break and act erratically until they're fixed, but they should not be awful breakage.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.