View Issue Details

IDProjectCategoryView StatusLast Update
13656Bug reports[All Projects] RemoteControlpublic2018-06-13 14:27
ReportermamorinAssigned Toolle 
PrioritynoneSeveritycrash 
Status assignedResolutionopen 
Product Version3.7.x 
Target VersionFixed in Version 
Summary13656: export_statistics pdf/csv as always in English
DescriptionRegardless of the provided language code, the export_statistics function in the remote control will always return the question titles and answers in English
Steps To ReproduceMy default language is Spanish.

Call:

$http({
            method : 'POST',
            url : lime_url,
            data : {
              "method" : "export_statistics",
              "params" : [
                sessionKey, // $sSessionKey
                pollID, // $iSurveyID
                type, // $docType
                lang, // $sLanguage
                '1', // $graph
                [ ] // groupIDs
              ],
              "id" : 1
            }
          })
Additional InformationI can export stadistics in Spanish from UI.
TagsNo tags attached.
Complete LimeSurvey version number (& build)3.7.1+180424
I will donate to the project if issue is resolvedNo
Browser
Database & DB-Versionmysql (5.5.55)
Operating System (Server)Linux NEXUSDEV 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) x86_64
Webserver software & versionApache/2.4.10 (Debian)
PHP Version5.6.30-0+deb8u1

Activities

mamorin

mamorin

2018-05-08 09:13

reporter  

Captura.PNG (51,599 bytes)
Captura.PNG (51,599 bytes)
Captura2.PNG (10,982 bytes)
Captura2.PNG (10,982 bytes)
avalls

avalls

2018-06-11 18:20

reporter   ~48054

Good afternoon Olle,

Do you have any idea of how difficult is to solve this bug??
Is it necessary to have a deep knowledge of how limesurvey works, or maybe if you point us to the right direction we could try to solve it???

thanks in advance
olle

olle

2018-06-13 14:27

administrator   ~48088

@avalls This should be the first place to look: https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/remotecontrol/remotecontrol_handle.php#L499

Compare with code in https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/admin/statistics_helper.php

Issue History

Date Modified Username Field Change
2018-05-08 09:13 mamorin New Issue
2018-05-08 09:13 mamorin File Added: Captura.PNG
2018-05-08 09:13 mamorin File Added: Captura2.PNG
2018-05-16 11:56 LouisGac Assigned To => olle
2018-05-16 11:56 LouisGac Status new => assigned
2018-06-11 18:20 avalls Note Added: 48054
2018-06-13 14:27 olle Note Added: 48088