View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
11786Bug reportsImport/Exportpublic2016-11-14 16:35
Reportereloner Assigned Toollehar  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.53 
Summary11786: EXPORT RESULTS: WRONG EXPORT OF ARRAY TYPE QUESTIONS
Description

When exporting the answers of array type questions (both with Stata, Spss and CSV) I get a column with "CODE+ANSWER", I.e.: 1Strongly agree, 2Quite ...
In Spss the problem is worst as I get a .dat file all composed of "itit" for every field exported, not only for array questions (the syntax file instead is correct).

Steps To Reproduce

Create a survey, add a question of array type.
Add some answers.
Export the results going to:

  • Responses --> Responses and statistics
  • Choose Export --> results to application (or to Spss to test the problem when exporting the results in Spss)
Additional Information

In the menu Responses I have tried both selecting answer codes or full answers, but the output is always the same.
I enclose a pdf file with some printscreen.

TagsNo tags attached.
Attached Files
BUG LS 2.54-10-2016.pdf (312,994 bytes)
Selection_105.png (57,197 bytes)   
Selection_105.png (57,197 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)Version 2.54.1+161010
I will donate to the project if issue is resolvedNo
BrowserMozilla
Database type & versionMySql 5.5.52
Server OS (if known)Ubuntu 14.04.3 LTS
Webserver software & version (if known)Apache/2.4.7 (Ubuntu)
PHP VersionPHP Version 5.5.9-1ubuntu4.20

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2016-10-12 11:21

administrator   ~41248

Please attach your faulty survey.

eloner

eloner

2016-10-26 14:28

reporter   ~41555

The survey is 321672

ollehar

ollehar

2016-10-26 14:33

administrator   ~41556

Thank you, for some reason I didn't get a notification for the new attachment.

ollehar

ollehar

2016-10-27 11:26

administrator   ~41582

I'll attach a picture of what I see. Could you write down what's the desired result, please?

ollehar

ollehar

2016-10-27 11:27

administrator   ~41583

I'm using Gnumeric Spreadsheet to show the CSV-file.

eloner

eloner

2016-10-27 11:58

reporter   ~41584

For Q7(1 to 9) I should have the possibility to:

  • export the code and the label (as it is in the image you attach)
  • export only the code of the options
  • export only the text (i.e. only the description).

When I added the request to the bug tracker I had Lime 2.53 installed. The fact of selecting (in the part of the export menu concerning Responses' options) Answer codes or Full answer did no apparently change the way the program exported the csv file for questions of type array.

ollehar

ollehar

2016-10-27 12:03

administrator   ~41585

OK, but number 1 and 2 already works, right? At least for me. And number 3 is a small feature request. Or did you expect "Full answers" to skip the question code?

eloner

eloner

2016-10-27 12:07

reporter   ~41586

No, if you have an array type question the system alway exports question code + text also if you ask to export only the code or only the text

ollehar

ollehar

2016-10-27 12:19

administrator   ~41587

I've added a picture where only question codes are exported for array question.

Selection_106.png (38,909 bytes)   
Selection_106.png (38,909 bytes)   
eloner

eloner

2016-10-27 12:27

reporter   ~41588

That is exactly what it should do if you choose "code" (I hope it works aso with other types of questions).

ollehar

ollehar

2016-10-27 12:28

administrator   ~41589

Well, that is exactly what it does now. :)

LouisGac

LouisGac

2016-11-14 16:31

developer   ~41905

so this bug is fixed, right?

ollehar

ollehar

2016-11-14 16:32

administrator   ~41906

If there's no feedback, close it.

Issue History

Date Modified Username Field Change
2016-10-12 10:45 eloner New Issue
2016-10-12 10:45 eloner File Added: BUG LS 2.54-10-2016.pdf
2016-10-12 11:18 ollehar Assigned To => ollehar
2016-10-12 11:18 ollehar Status new => assigned
2016-10-12 11:21 ollehar Note Added: 41248
2016-10-12 11:21 ollehar Status assigned => feedback
2016-10-12 11:24 eloner File Added: limesurvey_survey_321672.lss
2016-10-12 11:24 eloner File Added: survey_archive_321672.lsa
2016-10-26 12:23 ollehar Status feedback => new
2016-10-26 14:23 eloner File Added: limesurvey_survey_194365.lss
2016-10-26 14:28 eloner Note Added: 41555
2016-10-26 14:33 ollehar Note Added: 41556
2016-10-27 11:26 ollehar File Added: Selection_105.png
2016-10-27 11:26 ollehar File Added: Selection_105-2.png
2016-10-27 11:26 ollehar Note Added: 41582
2016-10-27 11:27 ollehar File Deleted: Selection_105-2.png
2016-10-27 11:27 ollehar Note Added: 41583
2016-10-27 11:27 ollehar Status new => feedback
2016-10-27 11:58 eloner Note Added: 41584
2016-10-27 11:58 eloner Status feedback => assigned
2016-10-27 12:03 ollehar Note Added: 41585
2016-10-27 12:07 eloner Note Added: 41586
2016-10-27 12:19 ollehar File Added: Selection_106.png
2016-10-27 12:19 ollehar Note Added: 41587
2016-10-27 12:27 eloner Note Added: 41588
2016-10-27 12:28 ollehar Note Added: 41589
2016-11-14 16:31 LouisGac Note Added: 41905
2016-11-14 16:32 ollehar Note Added: 41906
2016-11-14 16:35 LouisGac Status assigned => closed
2016-11-14 16:35 LouisGac Resolution open => fixed