after upgrading to D7 alpha 7 countQuery() calls stopped working.
countQuery should be called after setting all conditions
attached patch solves the problem (now webform acts like core's taxonomy module).
Patch fixes includes/webform.submissions.inc
Probably, views/webform_handler_field_submission_count.inc should also be patched, but I'm not using views :)

CommentFileSizeAuthor
webform.patch1.87 KBvalthebald

Comments

valthebald’s picture

Status: Active » Needs review
quicksketch’s picture

Excellent thanks.

Jackinloadup’s picture

Was this fixed?

Is this issue a duplicate of #881230: PDO exception due to calling countQuery too early.?

Stevel’s picture

Status: Needs review » Closed (duplicate)

It's a duplicate indeed. Marking this one as such and I'll clarify the title of the other issue as well.

quicksketch’s picture

Thanks Stevel.