View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
19513Bug reportsRemoteControlpublic2026-10-13 11:49
Reporterindietyp Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.6.x 
Summary19513: RemoteControl 2 API fails if id is 0
Description

The RemoteControl 2 API returns an empty response (200 OK) on get_session_key (and any other RPC method) if the id is 0 or "0".

get_session_key is also not spec compliant because error cannot be null, if must not be present if no error is present.

Steps To Reproduce

Steps to reproduce

POST /index.php?r=admin%2Fremotecontrol HTTP/1.1
Content-Length: 102
Content-Type: application/json
User-Agent: HTTPie

{
  "jsonrpc": "2.0",
  "id": 0,
  "method": "_checkEmailFormat",
  "params": ["..."]
}

Expected result

{
  "id": "0",
  "result": null,
  "error": null
}

Actual result

200 OK with an empty body.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build) Version 5.6.56+240227
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)
Webserver software & version (if known)
PHP VersionPHP/7.4.14
Git branch / Pull Request URL

Users monitoring this issue

indietyp

Activities

c_schmitz

c_schmitz

2026-10-12 16:08

administrator   ~86341

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40794

LimeBot

LimeBot

2026-10-13 11:49

administrator   ~86377

Fixed in Release 7.6.0+261013

Related Changesets

LimeSurvey: master 5d60ca67

2026-10-12 16:08

c_schmitz


Details Diff
Fixed issue 19513: RemoteControl JSON-RPC API returned an empty response when the request id was 0
Dev Requests with id 0 or "0" were treated as notifications; only a missing or null id now suppresses the response
Affected Issues
19513
mod - application/libraries/LSjsonRPCServer.php Diff File
mod - tests/functional/backend/RemoteControlJsonrpcTest.php Diff File

Issue History

Date Modified Username Field Change
2024-04-07 21:12 indietyp New Issue
2024-04-07 21:12 indietyp Issue Monitored: indietyp
2024-04-07 21:12 indietyp Bug heat 0 => 2
2026-10-12 16:08 c_schmitz Changeset attached => LimeSurvey master 5d60ca67
2026-10-12 16:08 c_schmitz Note Added: 86341
2026-10-12 16:08 c_schmitz Assigned To => c_schmitz
2026-10-12 16:08 c_schmitz Status new => resolved
2026-10-12 16:08 c_schmitz Resolution open => fixed
2026-10-12 16:08 c_schmitz Bug heat 2 => 4
2026-10-13 11:49 LimeBot Note Added: 86377
2026-10-13 11:49 LimeBot Status resolved => closed
2026-10-13 11:49 LimeBot Bug heat 4 => 6