View Issue Details

IDProjectCategoryView StatusLast Update
13420Bug reports[All Projects] Response browsingpublic2018-02-27 14:23
ReporterJamesHarrisHKI Assigned Toollehar  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version 
Target VersionFixed in Version3.4.x 
Summary13420: Wrong file downloaded from "View Response ID" page
Description

When viewing a survey response that has multiple files attached, the names of all the attached files will be displayed correctly, but all of the links will point to just one of the attached files.

Steps To Reproduce
  1. Create a new survey
  2. Add a question group
  3. Add a question, setting the question type to "Mask questions -> File upload"
  4. Repeat step 3
  5. Activate the survey (in Settings -> Overview)
  6. Execute the survey (in Settings -> Overview). Click Next.
  7. The survey will contain two "Upload file" questions. Upload a different file to each question. (I suggest 1.png and 2.png, attached to this bug report.) Click Submit.
  8. Back in the admin section's Settings -> Overview page, click Responses -> Responses and Statistics.
  9. Click Display Responses.
  10. The Survey Responses table will have one row in it. Click the first icon in that row; it will be labeled "View response details".
  11. On the resulting "View response ID" screen, both of the files you uploaded will have their filenames listed. But if you click on the name of each file, both links point to the same file.
Additional Information

Workaround: Clicking the "Download files" button on the "View response ID" page will produce a zip file containing all the files attached to the response.

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.3.0+180209
I will donate to the project if issue is resolvedNo
BrowserFirefox and Chrome
Database & DB-Version347
Server OS (if known)Windows Server 2008
Webserver software & version (if known)Apache/2.4.23 (Win64)
PHP Version7.0.9

Activities

JamesHarrisHKI

JamesHarrisHKI

2018-02-26 18:25

reporter  

1.png (21,464 bytes)
1.png (21,464 bytes)
2.png (24,514 bytes)
2.png (24,514 bytes)
limesurvey_survey_345158.lss (12,802 bytes)
survey_archive_345158.lsa (3,293 bytes)
ollehar

ollehar

2018-02-27 11:49

administrator   ~46778

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=26601

c_schmitz

c_schmitz

2018-02-27 14:23

administrator   ~46789

Version 3.4.3 Build 180227 released.

Related Changesets

LimeSurvey: master 9e19a28c

2018-02-27 11:49:18

ollehar

Details Diff
Fixed issue 13420: Wrong file downloaded from "View Response ID" page Affected Issues
13420
mod - application/controllers/admin/responses.php Diff File
mod - application/models/Response.php Diff File

Issue History

Date Modified Username Field Change
2018-02-26 18:25 JamesHarrisHKI New Issue
2018-02-26 18:25 JamesHarrisHKI File Added: 1.png
2018-02-26 18:25 JamesHarrisHKI File Added: 2.png
2018-02-26 18:25 JamesHarrisHKI File Added: limesurvey_survey_345158.lss
2018-02-26 18:25 JamesHarrisHKI File Added: survey_archive_345158.lsa
2018-02-27 11:15 ollehar Assigned To => ollehar
2018-02-27 11:15 ollehar Status new => confirmed
2018-02-27 11:49 ollehar Changeset attached => LimeSurvey master 9e19a28c
2018-02-27 11:49 ollehar Note Added: 46778
2018-02-27 11:49 ollehar Resolution open => fixed
2018-02-27 12:03 ollehar Status confirmed => resolved
2018-02-27 12:03 ollehar Fixed in Version => 3.4.x
2018-02-27 14:23 c_schmitz Note Added: 46789
2018-02-27 14:23 c_schmitz Status resolved => closed