Closed (fixed)
Project:
Webform
Version:
7.x-3.17
Component:
User interface
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2012 at 22:42 UTC
Updated:
25 May 2012 at 08:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchThanks for the report. I think this is the first report of this bug, but it's something we've encountered in the past. I'll look into it.
Comment #2
quicksketchMarked #1570590: Unexpected error when sorting by user duplicate.
Comment #3
quicksketchThe related issue that I was thinking of was #1074326: PDOException: SQLSTATE[23000] -- when viewing submissions . So this is definitely a separate problem that hasn't been addressed before.
Comment #4
quicksketchI've committed this patch to correct the issue. This patch may unnecessarily join the user table even if the "name" or "uid" column is not necessary, but at the same time we only pass in the $header variable on this page alone, so it's not going to affect any other places in the core module. Other places where you'd likely pass in a $header would also want the user table anyway, so I don't think this is an unfair compromise. In any case, fixes the immediate problem.
Comment #5
quicksketchComment #6
kiwimind commentedI can confirm that this patch works fine against 7.x-3.17.
Thanks very much.