View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
11695Bug reportsResponse browsingpublic2016-11-18 12:56
Reporterpmonstad Assigned ToLouisGac 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.52.x 
Fixed in Version2.56.x 
Summary11695: When using file questions all possible files are shown, even empty ones
Description

I have a file upload question, max 10 files. In the report found in response browsing, all 10 possible file records are shown. Only the first one contain a file, as I uploaded only one file. The last 9 should not appear in the report. See screenshot.

TagsNo tags attached.
Attached Files
screen.png (142,398 bytes)
Bug heat8
Complete LimeSurvey version number (& build)160920
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionx
Server OS (if known)x
Webserver software & version (if known)x
PHP Versionx

Users monitoring this issue

There are no users monitoring this issue.

Activities

mfavetti

mfavetti

2016-09-28 00:13

developer   ~40990

I'm not sure this would be the desired behavior. Compare this with a multiple short text question where only some subquestions were filled in. Should the unanswered subquestions be hidden in the response view? I think you're losing information by hiding the blank ones. And it's also set up this way so that multiple responses can be viewed as rows in a table.

Right now there is a loop over fields and then a loop over answers. I think they will need to be looped together to implement this without things getting ugly (ie, going back and deleting empty files from the field list.)

Thoughts?

ollehar

ollehar

2016-10-17 12:13

administrator   ~41390

Possible a switch to hide empty values.

How did you get the report? Which button/action?

pmonstad

pmonstad

2016-10-18 17:11

updater   ~41442

Here is a movie showing the problem: http://screencast-o-matic.com/watch/cD6Fo6jgxn

pmonstad

pmonstad

2016-10-18 17:12

updater   ~41443

And here is a lsa-file.

LouisGac

LouisGac

2016-11-15 19:06

developer   ~41965

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

Related Changesets

LimeSurvey: master 73939614

2016-11-15 17:40:13

LouisGac

Details Diff
Fixed issue 11695: When using file questions all possible files are shown, even empty ones Affected Issues
11695
mod - application/views/admin/responses/browseidrow_view.php Diff File

Issue History

Date Modified Username Field Change
2016-09-21 12:53 pmonstad New Issue
2016-09-21 12:53 pmonstad File Added: screen.png
2016-09-28 00:13 mfavetti Note Added: 40990
2016-10-17 12:13 ollehar Note Added: 41390
2016-10-17 12:15 c_schmitz Assigned To => c_schmitz
2016-10-17 12:15 c_schmitz Status new => feedback
2016-10-18 17:11 pmonstad Note Added: 41442
2016-10-18 17:11 pmonstad Status feedback => assigned
2016-10-18 17:12 pmonstad File Added: survey_archive_163557.lsa
2016-10-18 17:12 pmonstad Note Added: 41443
2016-11-14 17:15 LouisGac Assigned To c_schmitz => LouisGac
2016-11-15 17:27 LouisGac Sticky Issue No => Yes
2016-11-15 17:40 LouisGac Sticky Issue Yes => No
2016-11-15 19:06 LouisGac Changeset attached => LimeSurvey master 73939614
2016-11-15 19:06 LouisGac Note Added: 41965
2016-11-15 19:06 LouisGac Resolution open => fixed
2016-11-16 15:26 LouisGac Status assigned => resolved
2016-11-18 12:55 c_schmitz Fixed in Version => 2.56.x
2016-11-18 12:56 c_schmitz Status resolved => closed