View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20359Bug reportsRemoteControlpublic2025-11-19 14:42
Reporterjmolins Assigned To 
PrioritynoneSeveritypartial_block 
Status newResolutionopen 
Product Version6.6.x 
Summary20359: Sending associative array to method set_participant_properties() produces "Calling parameters do not match signature"
Description

(Limesurvey version 6.15.24)
When sending an XML request to the method set_participant_properties() of the remotecontrol_handle.php file, we receive the following error "Calling parameters do not match signature".
I attach a document explaining the problem and the solution.

Steps To Reproduce

Steps to reproduce

Create an XML-RPC client and send the following request to the server. This request contains 4 params, the fourth one being an associative array (struct in XML-RPC).

<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>set_participant_properties</methodName>
<params>
<param>
<value>
<string>ZTF~bMZs6aE~BuQW1l5MVCpn0~gNFccC</string>
</value>
</param>
<param>
<value>
<int>366661</int>
</value>
</param>
<param>
<value>
<int>11</int>
</value>
</param>
<param>
<value>
<struct>
<member>
<name>email</name>
<value>
string>1707321300349@gmail.es</string
</value>
</member>
<member>
<name>lastname</name>
<value>
<string>1707321300349</string>
</value>
</member>
<member>
<name>firstname</name>
<value>
<string>1707321300349</string>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>

Expected result

The previous should work as the method expects an associative array as forth parameters. Limesurvey tests are programmed with this in mind and the pass. It also works with JSON-RPC.

Actual result

We receive the following XML with the error: "Calling parameters do not match signature"

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultCode</name>
<value>
<int>623</int>
</value>
</member>
<member>
<name>faultString</name>
<value>
<string>Calling parameters do not match signature</string>
</value>
</member>
</struct>
</value>
</fault>
</methodResponse>

I am going to send a pull request in Github that solves the issue.
In the attached document I explain where the problem is and how it is solved.

TagsNo tags attached.
Attached Files
Problem and solution.pdf (420,134 bytes)
Bug heat4
Complete LimeSurvey version number (& build)6.15.24+251117
I will donate to the project if issue is resolvedNo
BrowserNo need since it is XML
Database type & versionAny
Server OS (if known)Any
Webserver software & version (if known)Any
PHP Version8.3 or any other

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2025-11-19 08:37

developer   ~83844

If you agree, I can send a PR to solve the issue.

Yes !! :)

jmolins

jmolins

2025-11-19 14:42

reporter   ~83845

I have created pull request
https://github.com/LimeSurvey/LimeSurvey/pull/4550

Issue History

Date Modified Username Field Change
2025-11-19 01:02 jmolins New Issue
2025-11-19 01:02 jmolins File Added: Problem and solution.docx
2025-11-19 01:02 jmolins File Added: Problem and solution.pdf
2025-11-19 08:37 DenisChenu Note Added: 83844
2025-11-19 08:37 DenisChenu Bug heat 0 => 2
2025-11-19 14:42 jmolins Note Added: 83845
2025-11-19 14:42 jmolins Bug heat 2 => 4