View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05026Bug reportsStatisticspublic2011-04-11 11:34
ReportermagiclkoAssigned Totpartner  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91RC5 
Target Version1.91RC6Fixed in Version1.91RC6 
Summary05026: Statistics HTML report UI defect
Description

In html report of statistics,when report shows field summary for text questions(all 4 types), than in table that show field summary has some defects like only 50% of one <th> is there(which makes only half of that line colored), rest is not there.. and whole table is just <thead>, no <tbody>.... while it is there when graphs are shown.

Steps To Reproduce

Create a survey with atleast one text question, activate it and choose html version of Statistics report.

Additional Information

when qtype is equal to Q or T or U or S, than we are not closing previously started <th> and <thead>, hence the problem.

TagsNo tags attached.
Attached Files
Capture1.PNG (7,749 bytes)   
Capture1.PNG (7,749 bytes)   
thead_error_dev.patch (767 bytes)   
Index: admin/statistics_function.php
===================================================================
--- admin/statistics_function.php	(revision 9887)
+++ admin/statistics_function.php	(working copy)
@@ -2058,6 +2058,12 @@
                             elseif ($al[0] == "NoAnswer")
                             {
                                 $fname= "$al[1]";
+                                $statisticsoutput .= "</th>\n"
+                                ."\t\t<th>"
+                                ."</th>\n"
+                                ."\t\t<th>"
+                                ."</th>\n"
+                                ."\t</tr></thead>\n";
                             }
                         }
                          
thead_error_dev.patch (767 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)9872
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome, Mozilla Firefox, Microsoft IE
Database type & versionMySQL(i) 5.1.37
Server OS (if known)Windows 7
Webserver software & version (if known)IIS 6.0
PHP Version5.2.13

Users monitoring this issue

There are no users monitoring this issue.

Activities

tpartner

tpartner

2011-03-16 01:16

partner   ~14452

Fixed in revision 9889.

Thanks for the report magiclko.

magiclko

magiclko

2011-03-16 01:21

reporter   ~14453

You are welcome :)

Issue History

Date Modified Username Field Change
2011-03-12 23:31 magiclko New Issue
2011-03-12 23:31 magiclko File Added: Capture1.PNG
2011-03-12 23:31 magiclko File Added: thead_error_dev.patch
2011-03-16 01:12 tpartner Assigned To => tpartner
2011-03-16 01:12 tpartner Status new => assigned
2011-03-16 01:16 tpartner Note Added: 14452
2011-03-16 01:16 tpartner Status assigned => resolved
2011-03-16 01:16 tpartner Resolution open => fixed
2011-03-16 01:21 magiclko Note Added: 14453
2011-04-11 11:34 c_schmitz Fixed in Version => 1.91RC6
2011-04-11 11:34 c_schmitz Status resolved => closed