View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
16877 | Bug reports | RemoteControl | public | 2020-12-07 15:14 | 2020-12-29 17:01 |
Reporter | pparzer | Assigned To | |||
Priority | low | Severity | minor | ||
Status | confirmed | Resolution | open | ||
Product Version | 3.25.3 | ||||
Summary | 16877: get_question_properties() returns unnamed array for answeroptions if the option code are 0, 1, 2, ... | ||||
Description | The API function "get_question_properties()" should return the answer options as named array with the answer codes as array keys. If the answer options start with 0 (like 0, 1, 2, 3), then an unnamed array is returned for the answer options (an array without keys). | ||||
Steps To Reproduce | Call get_question_properties() for a question of type "L" with the answer codes 1, 2, 3, and repeat for a question with answer codes 0, 1, 2. | ||||
Additional Information | Sample survey and R Notebook showing the bug are attached. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 3.25.3+201208 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox | ||||
Database type & version | MariaDB 10.3.25 | ||||
Server OS (if known) | Ubuntu 20.04.1 | ||||
Webserver software & version (if known) | Apache 2.4.41 | ||||
PHP Version | 7.4.3 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-12-07 15:14 | pparzer | New Issue | |
2020-12-07 15:14 | pparzer | File Added: test.lss | |
2020-12-07 15:14 | pparzer | File Added: api-bug.pdf | |
2020-12-07 15:14 | pparzer | Issue Monitored: pparzer | |
2020-12-29 17:01 | cdorin | Priority | none => low |
2020-12-29 17:01 | cdorin | Status | new => confirmed |