View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 04906 | Bug reports | Response browsing | public | 2011-01-27 00:00 | 2011-02-17 18:25 |
| Reporter | starmonkey | Assigned To | texens | ||
| Priority | normal | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 1.91RC2 | ||||
| Fixed in Version | 1.91RC4 | ||||
| Summary | 04906: file_upload: downloadindividualfile files deletes them | ||||
| Description | When browsing responses you can download file upload files individually from the browse table. This deletes them because it has unlink. Check the logic for "downloadindividualfile" in admin/browse.php I commented it out and it works as expected. readfile($file); This probably occured because the code was copy/pasted from the logic above it for downloading all of a responses files as a zip. The benefits of abstraction! | ||||
| Steps To Reproduce | 1) Create survey with a file_upload question type | ||||
| Additional Information | The code in browse.php is in much need of refactoring. Push rendering functions into helper classes. In fact I'm noticing a lot of LS/191 is in a similar state. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 9672 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | FF | ||||
| Database type & version | MySQL5 | ||||
| Server OS (if known) | Windows7 | ||||
| Webserver software & version (if known) | Apache2 | ||||
| PHP Version | PHP5 | ||||
| Git branch / Pull Request URL | |||||
|
Thank you starmonkey. |
|
|
Fixed in r9742. |
|
|
1.91RC4 released |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-01-27 00:00 | starmonkey | New Issue | |
| 2011-01-27 00:02 | c_schmitz | Assigned To | => texens |
| 2011-01-27 00:02 | c_schmitz | Status | new => assigned |
| 2011-01-27 00:03 | c_schmitz | Note Added: 13989 | |
| 2011-02-03 16:46 | texens | Note Added: 14049 | |
| 2011-02-03 16:46 | texens | Status | assigned => resolved |
| 2011-02-03 16:46 | texens | Fixed in Version | => 1.91RC4 |
| 2011-02-03 16:46 | texens | Resolution | open => fixed |
| 2011-02-17 18:25 | c_schmitz | Note Added: 14235 | |
| 2011-02-17 18:25 | c_schmitz | Status | resolved => closed |