Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Bug in remote control API: import_group ?

  • liantis_pieterjan
  • liantis_pieterjan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #202488 by liantis_pieterjan
Bug in remote control API: import_group ? was created by liantis_pieterjan
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
Too few arguments to function XMLImportGroup(), 2 passed in /var/www/html/application/helpers/remotecontrol/remotecontrol_handle.php on line 1123 and exactly 3 expected

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?


Best regards
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202489 by tpartner
Replied by tpartner on topic Bug in remote control API: import_group ?
Please file a bug report.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • liantis_pieterjan
  • liantis_pieterjan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #202490 by liantis_pieterjan
The following user(s) said Thank You: DenisChenu, tpartner
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202491 by tpartner
Replied by tpartner on topic Bug in remote control API: import_group ?
Thanks.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose