View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
15922 | Bug reports | RemoteControl | public | 2020-02-27 10:41 | 2021-11-03 09:19 |
Reporter | markusmr | Assigned To | galads | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 4.1.7 | ||||
Summary | 15922: RPC method list_questions does not return subquestions | ||||
Description | The description of the RPC method list_questions states "Return the ids and info of (sub-)questions of a survey/group", but it doesn't actually return subquestions, only base questions. | ||||
Steps To Reproduce | Create a survey with a multiple choice question with 1 or more answers. Now call the RPC method list_questions. It will only return the multiple choice question itself, but not the answers (which are subquestions). | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 4.1.7+200224 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | postgresql-12, 12.1-1.pgdg18.04+1 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 7.2.24-0ubuntu0.18.04.2 | ||||
Is this a regression from LS3? |
|
I've never used LS3. I was just looking for a method to get all questions via RPC, but that's currently not possible. |
|
Would you mind test it in LS3 too? |
|
I just checked in Version 3.22.7+200225, it's working fine, subquestions are included. So yes, this is a regression. |
|
OK, thanks! |
|
I just noticed that subquestions are included in the RPC method get_question_properties. So maybe it was intentionally dropped from list_questions. |
|
Please update to the latest version and check if the bug can still be reproduced. Thank you. |
|
Hello markusmr, galads |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-02-27 10:41 | markusmr | New Issue | |
2020-02-27 10:47 | ollehar | Note Added: 56226 | |
2020-02-27 11:03 | markusmr | Note Added: 56228 | |
2020-02-27 11:11 | ollehar | Note Added: 56230 | |
2020-02-27 11:48 | markusmr | Note Added: 56232 | |
2020-02-27 11:49 | ollehar | Note Added: 56233 | |
2020-02-27 17:22 | markusmr | Note Added: 56243 | |
2021-03-10 23:04 | ollehar | Status | new => feedback |
2021-03-10 23:04 | ollehar | Note Added: 63240 | |
2021-11-03 09:18 | galads | Note Added: 67074 | |
2021-11-03 09:18 | galads | Bug heat | 4 => 6 |
2021-11-03 09:19 | galads | Assigned To | => galads |
2021-11-03 09:19 | galads | Status | feedback => closed |
2021-11-03 09:19 | galads | Resolution | open => fixed |