View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|16474||Bug reports||RemoteControl||public||2020-07-08 19:59||2020-07-09 15:07|
|Summary||16474: Remote control import_group broken|
cross posting from the forum:
Hi I'm using LimeSurvey Version 4.3.1+200623
When trying to import an .lsg file I get the following response:
500: Internal Server Error
I checked the code in github and it seems that back in April the XMLImportGroup in application/helpers/admin/import_helper.php was modified. Instead of 2 parameters it now has 3.
And questiongroups.php was modified to allow import via the website, but the remotecontrol_handle.php is still using only two parameters. Thus the import_group is broken.
Could someone verify these findings. And if correct, report this as an issue?
|Steps To Reproduce|
call import_group on the remote control API
|Complete LimeSurvey version number (& build)||4.3.1+200623|
|I will donate to the project if issue is resolved||No|
|Database & DB-Version||MariaDB 10.5.4|
|Server OS (if known)|
|Webserver software & version (if known)|
I fixed the issue in the latest version (Version 4.3.3+200707) locally.
I patched remotecontrol_handle.php at line 1123
and afterwards the import_group remote control is functioning again.
@ollehar? have time to take a look at the issue?
Thanks for report!