View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|15922||Bug reports||[All Projects] RemoteControl||public||2020-02-27 10:41||2020-02-27 17:22|
|Target Version||Fixed in Version|
|Summary||15922: RPC method list_questions does not return subquestions|
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.|
|Complete LimeSurvey version number (& build)||4.1.7+200224|
|I will donate to the project if issue is resolved||No|
|Database & DB-Version||postgresql-12, 12.1-1.pgdg18.04+1|
|Server OS (if known)|
|Webserver software & version (if known)|
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.
I just noticed that subquestions are included in the RPC method get_question_properties. So maybe it was intentionally dropped from list_questions.
|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|