View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08856 | Bug reports | RemoteControl | public | 2014-03-14 09:23 | 2014-04-04 10:26 |
Reporter | ravi4957 | Assigned To | c_schmitz | ||
Priority | normal | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.05+ | ||||
Fixed in Version | 2.05+ | ||||
Summary | 08856: XML RPC calls not working any more, | ||||
Description | XML RPC not working any more with 2.05+ version, | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | Version 2.05+ Build 140302 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | mysql 5.5.34 | ||||
Server OS (if known) | Linux | ||||
Webserver software & version (if known) | apache | ||||
PHP Version | 5.5 | ||||
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 |
|
Works just fine here and for other people too so it must be some problem with your installation. |
|
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, |
|
Please attach a example code. Thank you. |
|
Please find the below sample code, to test it will just need to install zend libraries via composer, and run below code. <?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); |
|
Added fix for the issue, and pull request, |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14070 |
|
2.05+ Build 140404 released. |
|
LimeSurvey: master 8ad28b95 2014-03-25 08:24 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 11:02 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 17:22 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 |
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 |