View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05933 | Bug reports | Survey taking | public | 2012-03-20 15:36 | 2012-03-23 13:03 |
Reporter | Tmac | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.92+ | ||||
Fixed in Version | 1.92+ | ||||
Summary | 05933: 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. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 120311 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MySQL | ||||
Server OS (if known) | Linux | ||||
Webserver software & version (if known) | Not sure | ||||
PHP Version | PHP Version 5.3.3-7+squeeze8 | ||||
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=7997 |
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=7998 |
|
Thank you. |
|
1.92+ update released. |
|
LimeSurvey: master 2603d98e 2012-03-20 09:54:17 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 Details Diff |
Fixed issue 05933: Uploaded files with uppercase extensions show placeholder instead of image |
Affected Issues 05933 |
|
mod - scripts/uploader.js | Diff File |
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 |