I got a mysql error when i tried to use this field, but this super simple patch fixed it. basically, mysql didn't like the 'IN (,,,,,)' syntax that the null elements in $vids was creating.

CommentFileSizeAuthor
#2 views_null_vids.patch974 bytesquinn-2
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Title: Bug when displaying 'taxonomy: all terms' field. » Mysqlerror when displaying 'taxonomy: all terms' field.
Status: Needs review » Active

can you export the view?

then its much easier to reproduce it, thx for help!

quinn-2’s picture

FileSize
974 bytes

i can't remember what the offending view was. for whatever reason the patch file didn't attach, here it is again

for some reason i was getting a bunch of null vids (vocabulary ids, not version ids in this particular situation.. thanks drupal!!) and this fixed it for me

merlinofchaos’s picture

Status: Active » Closed (duplicate)