View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
09844Bug reportsRemoteControlpublic2015-09-30 11:01
Reportergabyreilly Assigned ToDenisChenu  
PrioritynormalSeveritypartial_block 
Status closedResolutionunable to reproduce 
Fixed in Version2.06+ 
Summary09844: RemoteControl export_responses_by_token fails on sHeadingType = "full"
Description

Using export_responses_by_token, I can export a CSV with the heading type "code", but the call fails when sHeadingType = "full". also fails when sHeadingType = "abbreviated"

When the call fails, the RPC service returns a 500 server error with no body.

When I turned the Lime debug config setting to 1, strangely the server responds with 200 OK, but still no body in the response.

Steps To Reproduce

Enable RemoteControl
Import attached survey, activate survey & create token table
Create token "123" and complete survey

In a web client like Fiddler or Postman,
Acquire RemoteControl session key with your account's username and password

Then, in the calls below, replace the first string with your session's key

Export CSV with question Codes:
{"method": "export_responses_by_token", "params": ["uaek3zm7bbm2eftws7jdgswx7m2k5mrm",253698,"csv","123","en","complete","code","long"], "id" : 1}

This call should succeed & return b64-encoded CSV in the return object

Repeat call with question Full Text:
{"method": "export_responses_by_token", "params": ["uaek3zm7bbm2eftws7jdgswx7m2k5mrm",253698,"csv","123","en","complete","full","long"], "id" : 1}

This call shows 500 server error & no response body

Repeat call with question Abbreviated:
{"method": "export_responses_by_token", "params": ["uaek3zm7bbm2eftws7jdgswx7m2k5mrm",253698,"csv","123","en","complete","abbreviated","long"], "id" : 1}

This call also shows 500 server error & no response body

http://i.imgur.com/fpVlYHd.png

Additional Information

Worked in build 150629
Failed in build 150731
Still failing in build 150825

TagsNo tags attached.
Attached Files
Bug heat10
Complete LimeSurvey version number (& build)150825
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.6.24
Server OS (if known)MacOSX
Webserver software & version (if known)Apache
PHP Version5.5.27

Users monitoring this issue

flexic, gabyreilly

Activities

DenisChenu

DenisChenu

2015-09-28 19:10

developer   ~33193

Can not reproduce on last GIT version : http://www.gsill.net/brouillon/rcLS/

gabyreilly

gabyreilly

2015-09-28 22:09

reporter   ~33197

Looks like this is resolved in 150911, thanks!

gabyreilly

gabyreilly

2015-09-28 23:04

reporter   ~33198

A colleague noted this is probably related to other bugs/commits:

https://bugs.limesurvey.org/view.php?id=9870

https://github.com/LimeSurvey/LimeSurvey/commit/eb05c36f41a32afa803d72dd9e6bbb4dff699746

c_schmitz

c_schmitz

2015-09-30 11:01

administrator   ~33216

Version 2.06+ Build 150930 released

Issue History

Date Modified Username Field Change
2015-08-25 22:28 gabyreilly New Issue
2015-08-25 22:28 gabyreilly File Added: limesurvey_survey_253698.lss
2015-08-25 22:40 flexic Issue Monitored: flexic
2015-08-25 22:53 gabyreilly Issue Monitored: gabyreilly
2015-09-28 18:58 DenisChenu Assigned To => DenisChenu
2015-09-28 18:58 DenisChenu Status new => assigned
2015-09-28 19:10 DenisChenu Note Added: 33193
2015-09-28 19:10 DenisChenu Status assigned => feedback
2015-09-28 22:09 gabyreilly Note Added: 33197
2015-09-28 22:09 gabyreilly Status feedback => assigned
2015-09-28 23:04 gabyreilly Note Added: 33198
2015-09-29 08:11 DenisChenu Status assigned => resolved
2015-09-29 08:11 DenisChenu Fixed in Version => 2.06+
2015-09-29 08:11 DenisChenu Resolution open => unable to reproduce
2015-09-30 11:01 c_schmitz Note Added: 33216
2015-09-30 11:01 c_schmitz Status resolved => closed
2021-08-12 18:27 guest Bug heat 6 => 10