View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
20135 | Bug reports | RemoteControl | public | 2025-06-06 07:46 | 2025-06-06 11:54 |
Reporter | takase | Assigned To | tibor.pacalat | ||
Priority | none | Severity | trivial | ||
Status | closed | Resolution | no change required | ||
Summary | 20135: The get_fieldmap RPC method uses parameter names ($sessionKey, $surveyId) which do not follow Hungarian notation. | ||||
Description | The get_fieldmap RPC method uses parameter names ($sessionKey, $surveyId) that are inconsistent with other RPC methods like get_language_properties, which use Hungarian notation (e.g., $sSessionKey, $iSurveyID). Unifying the parameter naming convention to follow Hungarian notation improves developer experience, maintains consistency, and reduces confusion when using the API. | ||||
Steps To Reproduce | Steps to reproduce
Expected resultParameter names should follow the same Hungarian notation convention as other RPC methods. $sessionKey → $sSessionKey Actual resultThe get_fieldmap method currently uses inconsistent parameter names:
| ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 6.12.4 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | mariadb 11.4 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 8.3.20 | ||||
Use jsonrpc 1 : parameters in order ;) |
|
Got it! Can't mess with the public API :) |
|
https://www.limesurvey.org/manual/RemoteControl_2_API#How_to_use_LSRC2
Can close ? |
|
Yes, I'll use JSON-RPC version 1. Please close this ticket. Thanks for your help. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2025-06-06 07:46 | takase | New Issue | |
2025-06-06 09:25 | DenisChenu | Note Added: 82839 | |
2025-06-06 09:25 | DenisChenu | Bug heat | 0 => 2 |
2025-06-06 09:41 | takase | Note Added: 82842 | |
2025-06-06 09:41 | takase | Bug heat | 2 => 4 |
2025-06-06 09:59 | DenisChenu | Note Added: 82843 | |
2025-06-06 09:59 | DenisChenu | Assigned To | => tibor.pacalat |
2025-06-06 09:59 | DenisChenu | Status | new => feedback |
2025-06-06 09:59 | DenisChenu | Note Edited: 82843 | |
2025-06-06 10:05 | takase | Note Added: 82844 | |
2025-06-06 10:05 | takase | Status | feedback => assigned |
2025-06-06 11:54 | tibor.pacalat | Status | assigned => closed |
2025-06-06 11:54 | tibor.pacalat | Resolution | open => no change required |