View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
15745Bug reportsRemoteControlpublic2020-01-23 09:15
Reporterhenrikteske Assigned Tocdorin  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version4.0.0-RC14 
Summary15745: Remotecontrol function add_participants not
Description

The function add_participants is not working in latest release.
I attached 2 screenshots on this you can see that no error is displayed

Steps To Reproduce

Update to latest version

Tagsadd_participants, api, PHP 7.3, remote control
Attached Files
API_Connect.jpg (49,159 bytes)   
API_Connect.jpg (49,159 bytes)   
API Response.jpg (19,759 bytes)   
API Response.jpg (19,759 bytes)   
Bug heat2
Complete LimeSurvey version number (& build)4.0.0 200116
I will donate to the project if issue is resolvedYes
Browser
Database type & versionmysqlnd 5.0.12
Server OS (if known)Debian 9
Webserver software & version (if known)Apache
PHP Version7.3.13-1+0

Users monitoring this issue

There are no users monitoring this issue.

Activities

henrikteske

henrikteske

2020-01-23 00:38

reporter   ~55439

Hello,
I was able to solve the problem that was not a bug it was my mistake sorry

the problem was that i did not pass the aParticipantData as an array but as a string

This don't work
{
"SessionKey": "b53n6Uc4CrulJ_ctYxuQ9g2qsl1tKY3b",
"$iSurveyID": 943876,
"aParticipantData": "[{\"firstname\":\"Henrik\",\"lastname\":\"Teske\",\"email\":\"henrik.teske@lemlog.com\",\"emailstatus\":\"OK\",\"language\":\"de\",\"token\":null,\"attribute_1\":\"Verwaltung\"}]"
}

This work
{
"SessionKey": "yzG9wNIvT5~F_hc9gKiA9Ug4mR4FANdv",
"$iSurveyID": 943876,
"aParticipantData": [
{
"firstname": "Henrik",
"lastname": "Teske",
"email": henrik.teske@lemlog.com,
"emailstatus": "OK",
"language": "de",
"token": null,
"attribute_1": "Verwaltung"
}
]

Issue History

Date Modified Username Field Change
2020-01-20 15:35 henrikteske New Issue
2020-01-20 15:35 henrikteske File Added: API_Connect.jpg
2020-01-20 15:35 henrikteske File Added: API Response.jpg
2020-01-20 15:37 henrikteske Tag Attached: api
2020-01-20 15:37 henrikteske Tag Attached: PHP 7.3
2020-01-20 15:37 henrikteske Tag Attached: remote control
2020-01-20 15:40 henrikteske Tag Attached: add_participants
2020-01-22 16:08 cdorin Assigned To => cdorin
2020-01-22 16:08 cdorin Status new => assigned
2020-01-23 00:38 henrikteske Note Added: 55439
2020-01-23 09:15 ollehar Status assigned => closed
2020-01-23 09:15 ollehar Resolution open => fixed