View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
16474 | Bug reports | RemoteControl | public | 2020-07-08 19:59 | 2021-02-24 10:36 |
Reporter | liantis_pieterjan | Assigned To | gabrieljenik | ||
Priority | none | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 4.3.1 | ||||
Summary | 16474: Remote control import_group broken | ||||
Description | 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? Best regards | ||||
Steps To Reproduce | call import_group on the remote control API | ||||
Tags | remote control | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 4.3.1+200623 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MariaDB 10.5.4 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 7.3.19 | ||||
I fixed the issue in the latest version (Version 4.3.3+200707) locally. I patched remotecontrol_handle.php at line 1123 into: and afterwards the import_group remote control is functioning again. |
|
@ollehar? have time to take a look at the issue? Thanks for report! |
|
@gabrieljenik , have time to take a look at this one ? |
|
PR: https://github.com/LimeSurvey/LimeSurvey/pull/1698 Fixed and added a test |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=31141 |
|
Fixed in Release 4.4.10+210222 |
|
LimeSurvey: master db693f74 2020-12-29 17:21 Details Diff |
Fixed issue 16474: Remote control import_group broken Fixed and Added test case |
Affected Issues 16474 |
|
mod - application/helpers/remotecontrol/remotecontrol_handle.php | Diff File | ||
mod - tests/TestHelper.php | Diff File | ||
add - tests/data/file_upload/limesurvey_group_472.lsg | Diff File | ||
add - tests/data/surveys/limesurvey_survey_251297_import_group.lss | Diff File | ||
mod - tests/unit/helpers/RemoteControlTest.php | Diff File | ||
LimeSurvey: master 775a27bc 2020-12-29 20:54 Details Diff |
Fixed issue 16474: Remote control import_group broken Changed how to load library to avoid duplicated: Rollback on TestHelper and Updated on RemoteControl Handle. |
Affected Issues 16474 |
|
mod - application/helpers/remotecontrol/remotecontrol_handle.php | Diff File | ||
mod - tests/TestHelper.php | Diff File | ||
LimeSurvey: master 05c55454 2021-02-19 16:37 Committer: GitHub Details Diff |
Fixed issue 16474: Remote control import_group broken Merge pull request #1698 from gabrieljenik/bug/16474--Remote-control-import_group-broken |
Affected Issues 16474 |
|
mod - application/helpers/remotecontrol/remotecontrol_handle.php | Diff File | ||
add - tests/data/file_upload/limesurvey_group_472.lsg | Diff File | ||
add - tests/data/surveys/limesurvey_survey_251297_import_group.lss | Diff File | ||
mod - tests/unit/helpers/RemoteControlTest.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-07-08 19:59 | liantis_pieterjan | New Issue | |
2020-07-09 13:43 | liantis_pieterjan | Note Added: 58838 | |
2020-07-09 14:04 | liantis_pieterjan | Tag Attached: remote control | |
2020-07-09 15:07 | cdorin | Note Added: 58856 | |
2020-12-23 17:41 | cdorin | Note Added: 61119 | |
2020-12-29 16:32 | gabrieljenik | Note Added: 61275 | |
2021-02-19 15:37 | ollehar | Changeset attached | => LimeSurvey master 05c55454 |
2021-02-19 15:37 | gabrieljenik | Changeset attached | => LimeSurvey master 775a27bc |
2021-02-19 15:37 | gabrieljenik | Changeset attached | => LimeSurvey master db693f74 |
2021-02-19 15:37 | gabrieljenik | Note Added: 62405 | |
2021-02-19 15:37 | gabrieljenik | Assigned To | => gabrieljenik |
2021-02-19 15:37 | gabrieljenik | Resolution | open => fixed |
2021-02-19 15:39 | ollehar | Status | new => resolved |
2021-02-24 10:36 | lime_release_bot | Note Added: 62479 | |
2021-02-24 10:36 | lime_release_bot | Status | resolved => closed |