View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
09299Bug reportsResponse browsingpublic2015-12-04 15:16
Reporterminnoce Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.06+ 
Summary09299: (Occasional) Broken link to uploaded file
Description

Occasionally, in the response browsing, the link to view/download files for "upload file" question type is broken (clicking on it result in no-action), also for completed surveys.
Looking at DB level (responses table), in these situations the field that stores the file attributes contains the temporary filename ("futmp...") instead of the actual filename ("fu...").

Additional Information

It will be very useful if Limesurvey checks for existence of file linked in the response browsing, reporting an error in case of failure.

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)140618
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.0
Server OS (if known)Linux (CentOS 5)
Webserver software & version (if known)Apache 2
PHP Version5.3

Users monitoring this issue

duvemyster, minnoce

Activities

c_schmitz

c_schmitz

2015-05-08 13:59

administrator   ~32139

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

c_schmitz

c_schmitz

2015-05-08 13:59

administrator   ~32140

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

c_schmitz

c_schmitz

2015-05-11 10:36

administrator   ~32162

Version 2.06RC2 Build 150511 released

minnoce

minnoce

2015-07-06 12:27

reporter   ~32623

Hy, You solved the problem for the individual links to the uploaded files (with an error message), but You should also detect the same problem (possibly with a similar error or warning message) when one or more files are not present on the server and we click over the two actions buttons "Download all files in this response as a zip file" and "Download marked files".

DenisChenu

DenisChenu

2015-07-07 14:11

developer   ~32629

Hi, think this 2 are fixed too. Please try to reproduce with the last version.

(easy : create survey with upload question, activate, do it : upload one file. Manually delete this file and test).

minnoce

minnoce

2015-07-07 15:04

reporter   ~32630

Tried, but when limesurvey creates the zip files it checks only for the existence of at least one of the files uploaded. So, if only some of the files are missing LM don't warn.

DenisChenu

DenisChenu

2015-07-07 15:41

developer   ~32632

Yes: but no bug here : you download all the existing files in "selection" or in the survey.

You ask an alert in response browsing ? If yes : it's a Feature, not a bug.

minnoce

minnoce

2015-07-07 16:06

reporter   ~32633

Yes... an alert is right. A feature? maybe, but I WANT to know if some files are missing. Thanks.

c_schmitz

c_schmitz

2015-12-04 15:15

administrator   ~33699

Please create a feature request for the remaining issue.
As gegernal file checking i a big change we cannot do this on the fly while fixing this issue.

Related Changesets

LimeSurvey: master b85786b9

2015-05-08 11:58:59

c_schmitz

Details Diff
Fixed issue 09299: Bad handling of broken links to uploaded files Affected Issues
09299
mod - application/controllers/admin/responses.php Diff File

LimeSurvey: 2.06 dd54004a

2015-05-08 11:59:37

c_schmitz

Details Diff
Fixed issue 09299: Bad handling of broken links to uploaded files Affected Issues
09299
mod - application/controllers/admin/responses.php Diff File

Issue History

Date Modified Username Field Change
2014-10-13 14:24 minnoce New Issue
2014-10-13 14:24 minnoce Issue Monitored: minnoce
2014-10-13 19:04 duvemyster Issue Monitored: duvemyster
2014-11-27 15:24 c_schmitz Assigned To => c_schmitz
2014-11-27 15:24 c_schmitz Status new => assigned
2015-05-08 13:59 c_schmitz Changeset attached => LimeSurvey master b85786b9
2015-05-08 13:59 c_schmitz Note Added: 32139
2015-05-08 13:59 c_schmitz Resolution open => fixed
2015-05-08 13:59 c_schmitz Status assigned => resolved
2015-05-08 13:59 c_schmitz Fixed in Version => 2.06+
2015-05-08 13:59 c_schmitz Changeset attached => LimeSurvey 2.06 dd54004a
2015-05-08 13:59 c_schmitz Note Added: 32140
2015-05-11 10:36 c_schmitz Note Added: 32162
2015-05-11 10:36 c_schmitz Status resolved => closed
2015-07-06 12:27 minnoce Note Added: 32623
2015-07-06 12:27 minnoce Status closed => feedback
2015-07-06 12:27 minnoce Resolution fixed => reopened
2015-07-07 14:11 DenisChenu Note Added: 32629
2015-07-07 15:04 minnoce Note Added: 32630
2015-07-07 15:04 minnoce Status feedback => assigned
2015-07-07 15:41 DenisChenu Note Added: 32632
2015-07-07 16:06 minnoce Note Added: 32633
2015-12-04 15:15 c_schmitz Note Added: 33699
2015-12-04 15:15 c_schmitz Status assigned => closed
2015-12-04 15:16 c_schmitz Resolution reopened => fixed
2021-08-02 17:08 guest Bug heat 6 => 10