View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
08856Bug reportsRemoteControlpublic2014-04-04 10:26
Reporterravi4957 Assigned Toc_schmitz  
PrioritynormalSeverityblock 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary08856: XML RPC calls not working any more,
Description

XML RPC not working any more with 2.05+ version,

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)Version 2.05+ Build 140302
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysql 5.5.34
Server OS (if known)Linux
Webserver software & version (if known)apache
PHP Version5.5

Users monitoring this issue

ravi4957

Activities

ravi4957

ravi4957

2014-03-14 09:47

reporter   ~29256

Last edited: 2014-03-14 09:53

When response returned from the xml call, when xmlrpc_decode_request or Zend_XmlRpc_Client of php is used to decode the response to specific object, its not working properly, and returning blank responses without any parameter details

c_schmitz

c_schmitz

2014-03-17 23:07

administrator   ~29311

Works just fine here and for other people too so it must be some problem with your installation.

ravi4957

ravi4957

2014-03-24 12:58

reporter   ~29515

When we tried using the Zend_Xml_Rpc_Client to call it returns the blank array of data when using add_participants, while also tried for the get_participant_details call, it returns array with value but no keys,

c_schmitz

c_schmitz

2014-03-24 14:02

administrator   ~29520

Please attach a example code. Thank you.

ravi4957

ravi4957

2014-03-24 14:42

reporter   ~29521

Last edited: 2014-03-24 14:43

Please find the below sample code, to test it will just need to install zend libraries via composer, and run below code.

<?php
require 'vendor/autoload.php';

use Zend\XmlRpc\Client;

$surveyId = 668645;

$client = new Client('http://www.limesurvey.rak/index.php/admin/remotecontrol');

$sessionKey = $client->call('get_session_key',array('admin','g5gefgrtRRR'));

$participant_data = array('participantData'=>array('firstname'=>'ravindra','lastname'=>'khokharia','email'=>'ravindra.khokharia@tts-talent.com','language'=>'en'));

$response = $client->call('add_participants',array($sessionKey,$surveyId,$participant_data));

var_dump($response);

ravi4957

ravi4957

2014-03-25 08:29

reporter   ~29530

Added fix for the issue, and pull request,
Please go through, if ok then please do accept and merge pull request

https://github.com/LimeSurvey/LimeSurvey/pull/185

c_schmitz

c_schmitz

2014-03-26 17:23

administrator   ~29546

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

c_schmitz

c_schmitz

2014-04-04 10:26

administrator   ~29666

2.05+ Build 140404 released.

Related Changesets

LimeSurvey: master 8ad28b95

2014-03-25 07:24:37

ravi4957

Details Diff
Fixed issue 08856: It should not add the datatype tag for the key value which breakes response when converted to array Affected Issues
08856
mod - application/libraries/BigData.php Diff File

LimeSurvey: master a1e06e29

2014-03-25 10:02:46

ravi4957

Details Diff
Fixed issue 08856: It should not add the datatype tag for the key value which breakes response when converted to array Affected Issues
08856
mod - application/libraries/BigData.php Diff File

LimeSurvey: master 441cc07c

2014-03-26 16:22:52

c_schmitz

Details Diff
Merge pull request #185 from ravindrakhokharia/master

Fixed issue 08856: xmlrpc response It should not add the datatype tag for the key
Affected Issues
08856
mod - application/libraries/BigData.php Diff File

Issue History

Date Modified Username Field Change
2014-03-14 09:23 ravi4957 New Issue
2014-03-14 09:42 ravi4957 Issue Monitored: ravi4957
2014-03-14 09:47 ravi4957 Note Added: 29256
2014-03-14 09:53 ravi4957 Note Edited: 29256
2014-03-17 23:07 c_schmitz Note Added: 29311
2014-03-17 23:07 c_schmitz Status new => closed
2014-03-17 23:07 c_schmitz Assigned To => c_schmitz
2014-03-17 23:07 c_schmitz Resolution open => unable to reproduce
2014-03-24 12:58 ravi4957 Note Added: 29515
2014-03-24 12:58 ravi4957 Status closed => feedback
2014-03-24 12:58 ravi4957 Resolution unable to reproduce => reopened
2014-03-24 14:02 c_schmitz Note Added: 29520
2014-03-24 14:04 c_schmitz Priority immediate => normal
2014-03-24 14:41 ravi4957 File Added: limesurvey_survey_668645(2).lss
2014-03-24 14:42 ravi4957 Note Added: 29521
2014-03-24 14:42 ravi4957 Status feedback => assigned
2014-03-24 14:43 ravi4957 Note Edited: 29521
2014-03-25 08:29 ravi4957 Note Added: 29530
2014-03-26 17:23 ravi4957 Changeset attached => LimeSurvey master 8ad28b95
2014-03-26 17:23 ravi4957 Changeset attached => LimeSurvey master a1e06e29
2014-03-26 17:23 c_schmitz Changeset attached => LimeSurvey master 441cc07c
2014-03-26 17:23 c_schmitz Note Added: 29546
2014-03-26 17:23 c_schmitz Status assigned => resolved
2014-03-26 17:23 c_schmitz Fixed in Version => 2.05+
2014-03-26 17:23 c_schmitz Resolution reopened => fixed
2014-04-04 10:26 c_schmitz Note Added: 29666
2014-04-04 10:26 c_schmitz Status resolved => closed
2021-08-02 17:01 guest Bug heat 4 => 6