View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
08852Bug reportsSurvey takingpublic2014-03-20 14:52
Reporterduvemyster Assigned Toc_schmitz  
PrioritylowSeveritytweak 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary08852: If server upload maxfilesize < upload question maxfilesize, then the maxsize reported to users is incorrect
Description

This can occur either by the server environment filesize upload maximum getting reset to a size lower than that utilized on upload questions, or by an upload questions being setup with a filesize maximum that exceeds the server environment.

Two things happen to the survey respondent. First they are told they can upload a file larger than they really can. And then they receive a message inadvertently claiming that their file is larger than it really is.

Steps To Reproduce
  1. Set the maximum filesize on a file upload question to a size larger than the server environment configuration is set to allow.
  2. The question will then say "You can upload ... under [overstated size] KB each.
  3. And, if a survey respondent attempts to upload a file smaller than the stated size though larger than the server environment allows, they see "... Only files up to [overstated size] KB are allowed."
TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)Build 140226
I will donate to the project if issue is resolvedNo
BrowserMiscellaneous
Database type & versionMySQL 5.1
Server OS (if known)Linux
Webserver software & version (if known)Apache/2.2
PHP Version5.4.10

Users monitoring this issue

duvemyster

Activities

c_schmitz

c_schmitz

2014-03-19 10:10

administrator   ~29383

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

c_schmitz

c_schmitz

2014-03-20 14:52

administrator   ~29453

2.05+ Build 140320 released

Related Changesets

LimeSurvey: master d6652001

2014-03-19 09:10:17

c_schmitz

Details Diff
Fixed issue 08852: If server upload maxfilesize < upload question maxfilesize, then the maxsize reported to users is incorrect Affected Issues
08852
mod - application/controllers/UploaderController.php Diff File
mod - application/helpers/common_helper.php Diff File

Issue History

Date Modified Username Field Change
2014-03-13 18:07 duvemyster New Issue
2014-03-13 18:09 duvemyster Issue Monitored: duvemyster
2014-03-19 09:27 c_schmitz Assigned To => c_schmitz
2014-03-19 09:27 c_schmitz Status new => assigned
2014-03-19 10:10 c_schmitz Changeset attached => LimeSurvey master d6652001
2014-03-19 10:10 c_schmitz Note Added: 29383
2014-03-19 10:10 c_schmitz Resolution open => fixed
2014-03-19 10:10 c_schmitz Status assigned => resolved
2014-03-19 10:10 c_schmitz Fixed in Version => 2.05+
2014-03-20 14:52 c_schmitz Note Added: 29453
2014-03-20 14:52 c_schmitz Status resolved => closed
2021-08-02 19:52 duvemyster Bug heat 2 => 4