View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05538 | Bug reports | Survey taking | public | 2011-10-27 21:57 | 2012-03-14 21:08 |
Reporter | Assigned To | c_schmitz | |||
Priority | high | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.91+ | ||||
Fixed in Version | 1.91+ | ||||
Summary | 05538: Further File Uploads Fail after First Upload Processed Following Next/Prev Question Group | ||||
Description | In a multiple File Upload question in a multiple question group survey, once an initial file has been processed, then the Next/Prev question group is selected, then further file uploads in the same question are not handled correctly. I have marked it "high" as a fundamental aspect of the "File Upload" behavior is broken. See 'Steps to Reproduce' | ||||
Steps To Reproduce | Create survey containing multiple Question Groups with one group per page. Create "File Upload" question allowing multiple file uploads on first group. In a survey, upload one file, "Return to Survey" then click Next/Prev. (This moves the uploaded file(s) from temp upload area to permanent files area.) Click "Upload Files" again, upload a new file, and repeat "Return to Survey" then click Next/Prev. Expected Behavior: Newly uploaded file should be moved to permanent files area. I believe this is due to a logic bug in save.php whereby only the first file is tested for presence in the temp area, instead of all files. In the above steps, the firs file is already moved, so future uploads are not processed correctly. See uploaded 'save.php' for possible code fix. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 11232 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome / Fiewfox | ||||
Database type & version | mysql 5.5.9 | ||||
Server OS (if known) | Windows 7 | ||||
Webserver software & version (if known) | apache 2.2.19 | ||||
PHP Version | 5.3.6 | ||||
LimeSurvey: Yii 31c22f25 2011-10-28 11:12 Details Diff |
Fixed issue 05538: Further file uploads may fail after first upload processed following Next/Prev question group - patch by litotes git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11297 b72ed6b6-b9f8-46b5-92b4-906544132732 |
Affected Issues 05538 |
|
mod - application/libraries/Save.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-10-27 21:57 |
|
New Issue | |
2011-10-27 21:57 |
|
File Added: save.php | |
2011-10-28 18:10 | c_schmitz | Assigned To | => c_schmitz |
2011-10-28 18:10 | c_schmitz | Status | new => assigned |
2011-10-28 18:12 | c_schmitz | Note Added: 16558 | |
2011-10-28 18:12 | c_schmitz | Status | assigned => resolved |
2011-10-28 18:12 | c_schmitz | Fixed in Version | => 1.91+ |
2011-10-28 18:12 | c_schmitz | Resolution | open => fixed |
2011-11-08 18:56 | c_schmitz | Note Added: 16633 | |
2011-11-08 18:56 | c_schmitz | Status | resolved => closed |
2012-03-14 21:08 | c_schmitz | Changeset attached | => Import 2012-03-09 13:30:34 Yii 31c22f25 |