View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 18660 | Bug reports | Other | public | 2023-02-28 15:57 | 2026-11-20 16:57 |
| Reporter | gabrieljenik | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Summary | 18660: Upload Controller has desde code for preview mode | ||||
| Description | While reviewing 18658, noticed there is dead code for preview mode. It is dead because preview flag is being picked up wrongly from session: | ||||
| Steps To Reproduce | Preview mode is expected to not save the file on the server. I guess it is being saved now while it is not expected. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | 5.6.8 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Chrome, Firefox, Safari | ||||
| Database type & version | 447 | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | NA | ||||
| Git branch / Pull Request URL | |||||
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=41387 |
|
|
LimeSurvey: master e6798183 2026-11-20 16:57 Details Diff |
Fixed issue 18660: Plugins using the beforeProcessFileUpload event were never told that a file was uploaded in preview mode Dev Removed the never-reached preview branch of the upload controller |
Affected Issues 18660 |
|
| mod - application/controllers/UploaderController.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-02-28 15:57 | gabrieljenik | New Issue | |
| 2023-02-28 15:57 | gabrieljenik | Issue generated from: 18658 | |
| 2023-02-28 15:57 | gabrieljenik | Project | Bug reports => @10@ |
| 2026-11-19 22:50 | c_schmitz | Status | new => acknowledged |
| 2026-11-19 22:50 | c_schmitz | Product Version | 5.6.x => |
| 2026-11-20 16:57 | c_schmitz | Changeset attached | => LimeSurvey master e6798183 |
| 2026-11-20 16:57 | c_schmitz | Note Added: 87844 | |
| 2026-11-20 16:57 | c_schmitz | Assigned To | => c_schmitz |
| 2026-11-20 16:57 | c_schmitz | Status | acknowledged => resolved |
| 2026-11-20 16:57 | c_schmitz | Resolution | open => fixed |
| 2026-11-20 16:57 | c_schmitz | Bug heat | 0 => 2 |