View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19754 | Bug reports | RemoteControl | public | 2024-09-19 12:30 | 2024-09-19 12:30 |
Reporter | ginosupport | Assigned To | |||
Priority | none | Severity | minor | ||
Status | new | Resolution | open | ||
Product Version | 6.6.x | ||||
Summary | 19754: RemoteControl list_participants parameter bUnused is confusing | ||||
Description | Both the documentation and the implementation of the bUnused parameter in https://api.limesurvey.org/classes/remotecontrol-handle.html#method_list_participants is confusing. According to the documentation, i would expect not supplying the bUnused parameter and supplying the bUnused parameter as false to have the same effect. I would interpret that effect to be that it returns ONLY the USED tokens. It is not clear what the expectation of bUnused = true should be. I can read this as getting ONLY unused, or ALSO unused tokens. The actual behavior of list_participants is doing none of these things as expected/documented. | ||||
Steps To Reproduce | Steps to reproduceCreate a survey with some participants, some of which are used and some of which are unused. Call the list_participants function with bUnused having the following values: Expected result1) Returns only used tokens I also expect the documentation to reflect this behavior clearly and correctly. Actual result1) Returns only UNUSED tokens The documentation is unclear and does not reflect the actual functionality. The default value as documented seems to be wrong, and the value of the property seems to do the exact oposite as the naming suggests. | ||||
Tags | No tags attached. | ||||
Bug heat | 0 | ||||
Complete LimeSurvey version number (& build) | 6.6.2+240827 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | none | ||||
Database type & version | PostgreSQL | ||||
Server OS (if known) | RHEL 9 | ||||
Webserver software & version (if known) | |||||
PHP Version | 7.4.33 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-09-19 12:30 | ginosupport | New Issue |