View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09919Bug reportsImport/Exportpublic2015-09-30 11:01
ReporterTaiSHi Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.06+ 
Summary09919: LSRC2 export return partial answer if langage code is invalid
Description

When a export_response request is made to the API, it wont export full responses.
This was discusses in https://www.limesurvey.org/en/forum/development/102116-obtaining-responses-through-api

And was reproduced by DenisChenu on responde 126039

Apparrently only the first group of questions is returned.

Steps To Reproduce

Use the export_responses() function on my Python3 API implementation ( https://github.com/TaiSHiNet/lime-py-api )

Or use DenisChenu's ( http://www.gsill.net/brouillon/rcLS/ ):
$lsJSONRPCClient->export_responses( $sessionKey,$iSurveyId,'json','complete' );

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)150731
I will donate to the project if issue is resolvedNo
Browser
Database type & versionlatest (unsure)
Server OS (if known)Linux
Webserver software & version (if known)apache 2.4
PHP Version5.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-09-25 17:10

developer   ~33171

Ok : manual bug .... Look at your remote control link publishing the API ...

export_responses($sSessionKey, $iSurveyID, $sDocumentType, $sLanguageCode=null, $sCompletionStatus='all', $sHeadingType='code', $sResponseType='short', $iFromResponseID=null, $iToResponseID=null, $aFields=null)

Here : we set $sLanguageCode='all' ...

There are another bug (this must return : an error)

DenisChenu

DenisChenu

2015-09-25 17:26

developer   ~33172

Manual updated :https://manual.limesurvey.org/RemoteControl_2_API#Other_function

DenisChenu

DenisChenu

2015-09-25 17:56

developer   ~33173

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

c_schmitz

c_schmitz

2015-09-30 11:01

administrator   ~33219

Version 2.06+ Build 150930 released

Related Changesets

LimeSurvey: master 8cde7ca0

2015-09-25 15:56:14

DenisChenu

Details Diff
Fixed issue 09919: LSRC2 export return partial answer if langage code is invalid
Dev: return an status message if langage code is not found for this survey
Affected Issues
09919
mod - application/helpers/remotecontrol/remotecontrol_handle.php Diff File

Issue History

Date Modified Username Field Change
2015-09-24 21:34 TaiSHi New Issue
2015-09-25 09:13 DenisChenu Status new => confirmed
2015-09-25 17:10 DenisChenu Note Added: 33171
2015-09-25 17:10 DenisChenu Assigned To => DenisChenu
2015-09-25 17:10 DenisChenu Status confirmed => assigned
2015-09-25 17:26 DenisChenu Note Added: 33172
2015-09-25 17:55 DenisChenu Summary LSRC2 export not exporting full answers => LSRC2 export return partial answer if langage code is invalid
2015-09-25 17:56 DenisChenu Changeset attached => LimeSurvey master 8cde7ca0
2015-09-25 17:56 DenisChenu Note Added: 33173
2015-09-25 17:56 DenisChenu Resolution open => fixed
2015-09-25 17:57 DenisChenu Status assigned => resolved
2015-09-25 17:57 DenisChenu Fixed in Version => 2.06+
2015-09-30 11:01 c_schmitz Note Added: 33219
2015-09-30 11:01 c_schmitz Status resolved => closed