View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 06644 | Bug reports | Statistics | public | 2012-10-04 15:27 | 2012-10-24 14:16 |
| Reporter | docl | Assigned To | mdekker | ||
| Priority | normal | Severity | block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.00+ | ||||
| Fixed in Version | 2.00+ | ||||
| Summary | 06644: Creating PDF statistics containing questions of numeric value type results in internal server error 500 | ||||
| Description | When creating PDF statistics of a survey it crashes with an internal server error 500. I have isolated the culpritt to questions of "numeric value type" - when these are excluded from the statistics the error DOES NOT occur. Selecting a max and min value for these questions in the statistics does not solve the problem. HTML statistics works without errors for the same surveys.. | ||||
| Steps To Reproduce | Create survey that contains numeric value type questions. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 14 | ||||
| Complete LimeSurvey version number (& build) | 121002 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | MySQL 5.1.63-0+squeeze1 | ||||
| Server OS (if known) | Linux | ||||
| Webserver software & version (if known) | Apache/2.2.16 (Debian) | ||||
| PHP Version | 5.3.17 | ||||
|
Sorry.. "numeric value type" is correctly called "Type: Numerical input" |
|
|
Can you please attach a small sample survey as .lss or lsa file to demonstrate the issue? |
|
|
Sure thing. |
|
|
Looks like PDF and Excel statistics are completely borked, currently. It will take some time to fix that. |
|
|
Thanks for taking the time to investigate this problem.. EDIT: I just found out that not only is the export statistics part not functioning - the export results to excel option does not work either which is obviously a huge problem - I will create another bug concerning this.. |
|
|
For me the regular result export to excel and pdf is working, also when a numerical question is present. I will focus on the statitics export. If in admin/export/exportresults you have issues with exporting in the current version (121019) please attach a short sample survey that shows the problem. |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9967 |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9970 |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9980 |
|
|
Multiple numerical question caused some sort of infinite loop. All should be working now. |
|
|
LimeSurvey 2.00+ Build 121024 released. Please update. |
|
|
LimeSurvey: master 75e0e0ad 2012-10-22 03:04 Details Diff |
Partial fix 06644: Excel export of statistics should be working again (PDF still to be fixed) |
Affected Issues 06644 |
|
| mod - application/controllers/Statistics_userController.php | Diff File | ||
| mod - application/controllers/admin/remotecontrol.php | Diff File | ||
| mod - application/controllers/admin/statistics.php | Diff File | ||
| mod - application/helpers/admin/statistics_helper.php | Diff File | ||
| add - protected/tests/unit/bootstrap.php | Diff File | ||
| add - protected/tests/unit/common_helperTest.php | Diff File | ||
|
LimeSurvey: master 0e416bb0 2012-10-22 07:20 Details Diff |
Fixed 06644: Statistics export to both PDF and Excel is working again dev: on my system the header-logo statistics.png crashes gd-library so i left a comment. If more people need it we could build a switch |
Affected Issues 06644 |
|
| mod - application/helpers/admin/exportresults_helper.php | Diff File | ||
| mod - application/helpers/admin/statistics_helper.php | Diff File | ||
| mod - application/libraries/admin/pdf.php | Diff File | ||
| rm - application/third_party/tcpdf/extensiontcpdf.php | Diff | ||
| rm - application/third_party/tcpdf/mypdf.php | Diff | ||
|
LimeSurvey: master e9e67643 2012-10-23 02:49 Details Diff |
Fixed 06644: Creating PDF statistics containing questions of multi numeric value type cause infinite loop |
Affected Issues 06644 |
|
| mod - application/helpers/admin/statistics_helper.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-10-04 15:27 | docl | New Issue | |
| 2012-10-04 15:28 | docl | Issue Monitored: docl | |
| 2012-10-04 16:40 | docl | Note Added: 21034 | |
| 2012-10-05 09:15 | c_schmitz | Note Added: 21049 | |
| 2012-10-05 09:15 | c_schmitz | Assigned To | => c_schmitz |
| 2012-10-05 09:15 | c_schmitz | Status | new => feedback |
| 2012-10-06 15:30 | docl | File Added: survey_bug_example.lsa | |
| 2012-10-06 15:33 | docl | Note Added: 21096 | |
| 2012-10-06 15:33 | docl | Status | feedback => assigned |
| 2012-10-09 13:37 | c_schmitz | Note Added: 21125 | |
| 2012-10-09 23:18 | docl | Note Added: 21148 | |
| 2012-10-11 14:42 | docl | Note Edited: 21148 | |
| 2012-10-19 08:31 | c_schmitz | Assigned To | c_schmitz => |
| 2012-10-19 08:31 | c_schmitz | Status | assigned => new |
| 2012-10-19 14:57 | c_schmitz | Relationship added | has duplicate 06730 |
| 2012-10-22 09:00 | mdekker | Assigned To | => mdekker |
| 2012-10-22 09:00 | mdekker | Status | new => assigned |
| 2012-10-22 09:04 | mdekker | Note Added: 21521 | |
| 2012-10-22 10:05 | mdekker | Changeset attached | => LimeSurvey master 75e0e0ad |
| 2012-10-22 10:05 | mdekker | Note Added: 21523 | |
| 2012-10-22 10:05 | mdekker | Resolution | open => fixed |
| 2012-10-22 14:22 | mdekker | Changeset attached | => LimeSurvey master 0e416bb0 |
| 2012-10-22 14:22 | mdekker | Note Added: 21530 | |
| 2012-10-23 09:51 | mdekker | Changeset attached | => LimeSurvey master e9e67643 |
| 2012-10-23 09:51 | mdekker | Note Added: 21554 | |
| 2012-10-23 09:53 | mdekker | Note Added: 21555 | |
| 2012-10-23 09:53 | mdekker | Status | assigned => closed |
| 2012-10-23 09:53 | mdekker | Fixed in Version | => 2.00+ |
| 2012-10-23 09:53 | mdekker | Status | closed => feedback |
| 2012-10-23 09:53 | mdekker | Resolution | fixed => reopened |
| 2012-10-23 09:53 | mdekker | Status | feedback => resolved |
| 2012-10-23 09:53 | mdekker | Resolution | reopened => fixed |
| 2012-10-24 14:16 | c_schmitz | Note Added: 21606 | |
| 2012-10-24 14:16 | c_schmitz | Status | resolved => closed |