View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05933Bug reportsSurvey takingpublic2012-03-23 13:03
ReporterTmac Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary05933: Uploaded files with uppercase extensions show placeholder instead of image
Description

If a user uploads a file with .JPG as extension, the uploader does not show the image of the uploaded file, instead a generic placeholder image is shown.

Steps To Reproduce

Upload a file with uppercase .JPG instead of lowercase .jpg extension. The JSON string in the database points to the correct file and shows the extension as .JPG:

[{"title":"","comment":"","size":"79.15","name":"21st%20sept%20front%20in%20spring.JPG","filename":"fu_rzab786sam38cn3","ext":"JPG"}]

The modal dialog displays the correct image but when you return to the survey, 'placeholder.png' is shown instead.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)120311
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL
Server OS (if known)Linux
Webserver software & version (if known)Not sure
PHP VersionPHP Version 5.3.3-7+squeeze8

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-03-20 17:54

administrator   ~18012

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

c_schmitz

c_schmitz

2012-03-20 17:54

administrator   ~18013

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

Tmac

Tmac

2012-03-20 17:58

reporter   ~18014

Thank you.

c_schmitz

c_schmitz

2012-03-23 13:03

administrator   ~18061

1.92+ update released.

Related Changesets

LimeSurvey: master 2603d98e

2012-03-20 09:54:17

c_schmitz

Details Diff
Fixed issue 05933: Uploaded files with uppercase extensions show placeholder instead of image Affected Issues
05933
mod - scripts/uploader.js Diff File

LimeSurvey: Yii 3f50b5c1

2012-03-20 09:54:34

c_schmitz

Details Diff
Fixed issue 05933: Uploaded files with uppercase extensions show placeholder instead of image Affected Issues
05933
mod - scripts/uploader.js Diff File

Issue History

Date Modified Username Field Change
2012-03-20 15:36 Tmac New Issue
2012-03-20 17:37 c_schmitz Assigned To => c_schmitz
2012-03-20 17:37 c_schmitz Status new => assigned
2012-03-20 17:54 c_schmitz Changeset attached => LimeSurvey master 2603d98e
2012-03-20 17:54 c_schmitz Note Added: 18012
2012-03-20 17:54 c_schmitz Resolution open => fixed
2012-03-20 17:54 c_schmitz Changeset attached => LimeSurvey Yii 3f50b5c1
2012-03-20 17:54 c_schmitz Note Added: 18013
2012-03-20 17:58 Tmac Note Added: 18014
2012-03-20 18:24 c_schmitz Status assigned => resolved
2012-03-20 18:24 c_schmitz Fixed in Version => 1.92+
2012-03-23 13:03 c_schmitz Note Added: 18061
2012-03-23 13:03 c_schmitz Status resolved => closed