View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
07075Bug reportsResponse browsingpublic2013-01-11 10:51
Reporterfradeff Assigned Tomdekker  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07075: browse results bug with upload type question (display few answer and no download)
Description

when using upload file type question, the browse results bugs and do not display properly: not all results are shown, and missing datas for the uploaded files (which are effectivally uploaded on the server); when triying to view or edit a result, blank page; impossible to download files (as we can't see them)

only solution: export in csv then find the uploaded files via SFTP (busy job...)

Steps To Reproduce

create a form with an upload question, activate, test and browse results

Additional Information

screenshot of the bug on display:
http://cms.unige.ch/outils/limebugs/lime_browse_upload_bug.png

screenshot of the exported csv file :
http://cms.unige.ch/outils/limebugs/lime_results_csv.png

(not user friendly for the administrator... but shows the uploaded files that can be retrieved on the server)

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)121213
I will donate to the project if issue is resolvedNo
BrowserFirefox 17.0.1
Database type & versionMySQL 5.1.47
Server OS (if known)SunOS 5.10
Webserver software & version (if known)Apache 20051115
PHP Version5.2.12

Users monitoring this issue

There are no users monitoring this issue.

Activities

fradeff

fradeff

2012-12-13 15:30

reporter   ~23226

the bug is not present on a new installation, only on an updated limesurvey

mdekker

mdekker

2012-12-13 15:33

reporter   ~23227

Not able to reproduce using the attached survey, also your display cmpleted / not completed responses looks different from what i see.

Could you please go to /application/config/config.php and set debug to 2 and report if you get any errors?

fradeff

fradeff

2012-12-13 15:44

reporter   ~23229

thanks!

ok with the debug I have a:

Fatal error: Call to undefined function json_last_error() in /w3/outils/limeformcont/application/helpers/common_helper.php on line 7701

and what I've also seen in the mysql db is that the uploaded files variables are anti-slased
[{ \"title\":\"\",\"comment\":\"\",\"size\":\"40.711\",\"name\":\"Capture%20du%202012-10-09%2009%3A56%3A11.png\",\"filename\":\"fu_euvtegajxanx5wv\",\"ext\":\"png\" }]

mdekker

mdekker

2012-12-20 13:07

reporter   ~23308

it could be this is caused by some old bug... can you insert the code for a working upload and for a not working upload? that way i can give you some work around code that can fix this for you

fradeff

fradeff

2013-01-08 12:35

reporter   ~23537

hello mdekker,

first of all, happy new year 2013

I'm back in the office, facing the same problem

now even if I install a brand new limesurvey Version 2.00+ Build 130103 (not a patched old version put a plain one) and create a form with an upload, no browse answers

if I enable debug:

Fatal error: Call to undefined function json_last_error() in /w3/outils/limeformcont2/application/helpers/common_helper.php on line 7706

any idea? if you give me an email I may send you an admin access, if you like (mine is: Frederic.Radeff@unige.ch)

best regards

mdekker

mdekker

2013-01-08 13:33

reporter   ~23540

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

mdekker

mdekker

2013-01-08 14:07

reporter   ~23542

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

mdekker

mdekker

2013-01-08 16:34

reporter   ~23544

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

c_schmitz

c_schmitz

2013-01-08 22:32

administrator   ~23548

2.00+ Build 130108 released.

mdekker

mdekker

2013-01-11 10:51

reporter   ~23616

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

Related Changesets

LimeSurvey: master f0b1a203

2013-01-08 12:32:32

mdekker

Details Diff
Fixed 07075: browse results bug with upload type question (display few answer and no download)
dev: removed php 5.3 function call for better compatibility
Affected Issues
07075
mod - application/helpers/common_helper.php Diff File

LimeSurvey: master a4c34ec6

2013-01-08 13:07:09

mdekker

Details Diff
Fixed 07075: browse results bug with upload type question (display few answer and no download)
dev: fixed link from show individual record
Affected Issues
07075
mod - application/controllers/admin/responses.php Diff File

LimeSurvey: master a9247045

2013-01-08 15:33:48

mdekker

Details Diff
Fixed 07075: browse results bug with upload type question (display few answer and no download)
dev: ob_clean and flush seem to cause errors sometimes
Affected Issues
07075
mod - application/controllers/admin/responses.php Diff File

LimeSurvey: 2.1 5a955521

2013-01-11 09:50:54

mdekker

Details Diff
Fixed 07075: browse results bug with upload type question (display few answer and no download) Affected Issues
07075
mod - application/controllers/admin/responses.php Diff File
mod - application/helpers/common_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-12-13 15:14 fradeff New Issue
2012-12-13 15:14 fradeff File Added: limesurvey_survey_133884.lss
2012-12-13 15:30 fradeff Note Added: 23226
2012-12-13 15:33 mdekker Note Added: 23227
2012-12-13 15:33 mdekker Assigned To => mdekker
2012-12-13 15:33 mdekker Status new => assigned
2012-12-13 15:44 fradeff Note Added: 23229
2012-12-20 13:07 mdekker Note Added: 23308
2013-01-08 12:35 fradeff Note Added: 23537
2013-01-08 13:33 mdekker Changeset attached => LimeSurvey master f0b1a203
2013-01-08 13:33 mdekker Note Added: 23540
2013-01-08 13:33 mdekker Resolution open => fixed
2013-01-08 14:07 mdekker Changeset attached => LimeSurvey master a4c34ec6
2013-01-08 14:07 mdekker Note Added: 23542
2013-01-08 16:34 mdekker Changeset attached => LimeSurvey master a9247045
2013-01-08 16:34 mdekker Note Added: 23544
2013-01-08 16:40 mdekker Status assigned => resolved
2013-01-08 16:40 mdekker Fixed in Version => 2.00+
2013-01-08 22:32 c_schmitz Note Added: 23548
2013-01-08 22:32 c_schmitz Status resolved => closed
2013-01-11 10:51 mdekker Changeset attached => LimeSurvey 2.1 5a955521
2013-01-11 10:51 mdekker Note Added: 23616