This is causing a bit over a page of dblog cruft on d.o every minute.

(Patch is untested, but it seemed pretty obvious to me..)

CommentFileSizeAuthor
prhfrft_dont_make_errors.patch1.31 KBbdragon

Comments

dww’s picture

Status: Needs review » Fixed

Thanks! That's exactly the right patch. The problem is when you have a download table with no results. For example, http://drupal.org/project/custom_pagers only has recommended and dev, no "Other releases" table. So, when this field handler fires, $nids ends up being empty and we do all sorts of bad things. This patch is all we need. Tested on d6.p.d.o, worked like a charm, committed to HEAD, imported into SVN, merged into production branch, and deployed. Phew. The d.o dblog is a lot more quiet now when filtering for 'php' errors.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.