Closed (fixed)
Project:
Webform
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2008 at 12:36 UTC
Updated:
25 Jan 2009 at 03:00 UTC
Jump to comment: Most recent file
If "0" (without quotes) is an option in a grid question, it seems that the analysis page gets the information wrong.
* The "0" option is left out in the table header.
* The answers in the first column are all set to 0. (Or maybe it's the column with 0 as header - they coincide for me.)
* Because one table header cell is missing, the other header cells are shifted, leaving one column of answers orphaned.
A screenshot of results is included.
I think I tracked down the unwanted effect to line 248 in components/grid.inc, but since I don't know much about how Webform works I can't suggest what to do about it.
Thanks for a great module.
//Johan Falk, Sweden
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | webform_grid_zero.patch | 1.9 KB | quicksketch |
| grid-analysis.png | 31.77 KB | itangalo |
Comments
Comment #1
quicksketchThanks, I actually found a few more bugs regarding the value of "0", all of which should be fixed with the attached patch, which I've committed. Thanks for the report!