View Issue Details

This issue affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
18066Bug reportsRemoteControlpublic2022-05-09 12:37
Reporterchimp358 Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Summary18066: Method upload_file does not honor $FileName argument in response
Description

For the following input

upload_file(<session key>, 1, "1X1X1", "hello.txt", <file contents>)

the response is

{
  "success": True,
  "size": 0.012,
  "name": "",
  "ext": "txt",
  "filename": "futmp_kny4pc9czstjtnf_txt",
  "msg": "The file has been successfully uploaded."
}

while I expected name to be hello.txt.

Tagsremotecontrol
Attached Files
survey.lss (324,368 bytes)
Bug heat10
Complete LimeSurvey version number (& build)5.x
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version

Users monitoring this issue

chimp358

Activities

ollehar

ollehar

2022-05-03 10:29

administrator   ~69368

More a bug than a feature request?

chimp358

chimp358

2022-05-03 14:52

reporter   ~69372

@ollehar yes, I think it's a bug because the expectation is that the original filename is returned in the "name" key of the response, but currently an empty string is returned

guest

guest

2022-05-06 22:12

viewer   ~69496

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

LimeBot

LimeBot

2022-05-09 12:36

administrator   ~69509

Fixed in Release 5.3.13+220509

Related Changesets

LimeSurvey: master 63a6c36c

2022-05-07 00:12

chimp358

Committer: GitHub


Details Diff
Fixed issue 18066: Method upload_file does not honor $FileName argument in response Affected Issues
18066
mod - application/helpers/remotecontrol/remotecontrol_handle.php Diff File

Issue History

Date Modified Username Field Change
2022-04-30 18:23 chimp358 New Issue
2022-04-30 18:23 chimp358 File Added: survey.lss
2022-04-30 18:44 chimp358 Issue Monitored: chimp358
2022-04-30 18:44 chimp358 Bug heat 0 => 2
2022-04-30 18:45 chimp358 Tag Attached: remotecontrol
2022-05-03 10:29 ollehar Note Added: 69368
2022-05-03 10:29 ollehar Bug heat 2 => 4
2022-05-03 14:52 chimp358 Note Added: 69372
2022-05-03 14:52 chimp358 Bug heat 4 => 6
2022-05-03 15:32 ollehar Project Feature requests => Bug reports
2022-05-06 00:33 gabrieljenik Severity feature => minor
2022-05-06 00:33 gabrieljenik Complete LimeSurvey version number (& build) => 5.x
2022-05-06 22:12 chimp358 Changeset attached => LimeSurvey master 63a6c36c
2022-05-06 22:12 guest Note Added: 69496
2022-05-06 22:12 guest Bug heat 6 => 8
2022-05-06 22:12 c_schmitz Assigned To => c_schmitz
2022-05-06 22:12 c_schmitz Status new => resolved
2022-05-06 22:12 c_schmitz Resolution open => fixed
2022-05-09 12:36 LimeBot Note Added: 69509
2022-05-09 12:37 LimeBot Status resolved => closed
2022-05-09 12:37 LimeBot Bug heat 8 => 10