View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04910Bug reportsResponse browsingpublic2011-02-17 18:25
Reportermdekker Assigned Totexens  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91RC3 
Target Version1.91RC4Fixed in Version1.91RC4 
Summary04910: Download all files for reponse in browse screen throws en error
Description

Notice: Undefined variable: filequestion in admin/browse.php on line 505

Warning: Invalid argument supplied for foreach() in admin/browse.php on line 505
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM lsdev__survey_29846 WHERE id=14' at line 1:SELECT FROM lsdev__survey_29846 WHERE id=14

Steps To Reproduce

When i activate the sample survey i can download files, even when there are no fileupload questions, resulting in the above error.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)9731
I will donate to the project if issue is resolvedNo
Browser
Database type & versiondna
Server OS (if known)dna
Webserver software & version (if known)dna
PHP Versiondna

Users monitoring this issue

There are no users monitoring this issue.

Activities

texens

texens

2011-02-03 19:04

reporter   ~14050

Menno,

When there are no file upload question types, the browse screen doesn't show the download buttons. How did you attempt to download the files? I guess I'm missing something.

mdekker

mdekker

2011-02-07 10:45

reporter   ~14072

Took a closer look and found the error... the bHasFileUploadQuestion returns true on the dual scale questions for the scale_id. I fixed it and committed in svn 9747

Also put in the check for indivudual responsed.

c_schmitz

c_schmitz

2011-02-17 18:25

administrator   ~14233

1.91RC4 released

Issue History

Date Modified Username Field Change
2011-01-28 16:44 mdekker New Issue
2011-01-28 16:44 mdekker Status new => assigned
2011-01-28 16:44 mdekker Assigned To => texens
2011-02-01 15:43 mdekker Target Version => 1.91RC4
2011-02-03 19:04 texens Note Added: 14050
2011-02-03 19:04 texens Status assigned => feedback
2011-02-07 10:45 mdekker Note Added: 14072
2011-02-07 10:45 mdekker Status feedback => assigned
2011-02-07 10:45 mdekker Status assigned => resolved
2011-02-07 10:45 mdekker Fixed in Version => 1.91RC4
2011-02-07 10:45 mdekker Resolution open => fixed
2011-02-17 18:25 c_schmitz Note Added: 14233
2011-02-17 18:25 c_schmitz Status resolved => closed