View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
09232Bug reportsRemoteControlpublic2014-10-10 10:43
Reporterloucarey62 Assigned Toc_schmitz  
PriorityurgentSeverityblock 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary09232: Uncaught exception 'Exception' when calling list_participants and passing aAttributes array
Description

I am getting the following error when issuing the code in the "Steps To Reproduce" section:

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to https://nyu-pccp.com//admin/remotecontrol' in /home/nyupcc5/public_html/application/libraries/jsonRPCClient.php:141 Stack trace: #0 /home/nyupcc5/public_html/custom_automation/ajaxLoadParticipantsTable.php(51): jsonRPCClient->__call('list_participan...', Array) #1 /home/nyupcc5/public_html/custom_automation/ajaxLoadParticipantsTable.php(51): jsonRPCClient->list_participants('bw3jbvfs3akbwaf...', '1000', 0, 1000, false, Array) #2 {main} thrown in /home/nyupcc5/public_html/application/libraries/jsonRPCClient.php on line 141

Steps To Reproduce

$participants = $myJSONRPCClient->list_participants( $sessionKey, $protocol_id, 0, 1000, false, array( 'attribute_1', 'attribute_2', 'attribute_3', 'attribute_4', 'attribute_5', 'attribute_6', 'attribute_7' ) );

Additional Information

If I do not pass an array, I get the expected results.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)140911
I will donate to the project if issue is resolvedYes
BrowserChrome
Database type & versionMySQL 5.6.17
Server OS (if known)Apache
Webserver software & version (if known)2.2.29
PHP Version5.4.32

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2014-09-16 09:17

administrator   ~30651

See patch below - we are looking forward to your donation!

c_schmitz

c_schmitz

2014-09-16 09:17

administrator   ~30652

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

c_schmitz

c_schmitz

2014-10-10 10:43

administrator   ~30772

2.05+ Build 141003 released

Related Changesets

LimeSurvey: master 9c6a5023

2014-09-16 07:17:08

c_schmitz

Details Diff
Fixed issue 09232: Error when calling list_participants and passing aAttributes array Affected Issues
09232
mod - application/helpers/remotecontrol/remotecontrol_handle.php Diff File

Issue History

Date Modified Username Field Change
2014-09-16 06:41 loucarey62 New Issue
2014-09-16 09:17 c_schmitz Assigned To => c_schmitz
2014-09-16 09:17 c_schmitz Status new => assigned
2014-09-16 09:17 c_schmitz Note Added: 30651
2014-09-16 09:17 c_schmitz Status assigned => resolved
2014-09-16 09:17 c_schmitz Fixed in Version => 2.05+
2014-09-16 09:17 c_schmitz Resolution open => fixed
2014-09-16 09:17 c_schmitz Changeset attached => LimeSurvey master 9c6a5023
2014-09-16 09:17 c_schmitz Note Added: 30652
2014-10-10 10:43 c_schmitz Note Added: 30772
2014-10-10 10:43 c_schmitz Status resolved => closed