View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
10886 | Bug reports | Import/Export | public | 2016-04-07 13:38 | 2016-04-25 13:54 |
Reporter | eloner | Assigned To | ollehar | ||
Priority | high | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.50.x | ||||
Fixed in Version | 2.50.x | ||||
Summary | 10886: Export to XML: question type List Radio not exported correctly | ||||
Description | If you have a question List Radio and export the answers in XML format you get the Label of the question, not the question code. The output is correct for other formats (I tested SPSS and PDF) | ||||
Steps To Reproduce | Create a new question. Choose List Radio. Add some options. Export the results in XML format | ||||
Additional Information | It is possible to bypass the problem by exporting the answers in SPSS format, but you need to have SPSS (a very expensive package) and a program (such as Stattrtansfer, very expensive too) to convert to/from STATA/SPSS. I add a simple survey that can be used for testing purpose (just a survey with a List Radio question). | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | Version 2.50+ Build 160405 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Mozilla Firefox | ||||
Database type & version | MySql | ||||
Server OS (if known) | ubuntu4.14 | ||||
Webserver software & version (if known) | Apache 2.0 | ||||
PHP Version | PHP Version 5.5.9 | ||||
elone, I assume you mean the queXML export? |
|
I mean if you choose: Export results to application and then Stata (.XML) format |
|
Could you please supply an XML with wrong data and a corrected XML as you would like to see it? |
|
Hello Olle, I have loaded two screenshots: the first with the wrong file (you can see column Q1 with all values "yes" and "no") and the first containing the Q1 column as it should be (1s and 2s values). Spss correctly exports 1 and 2 values (to analize data is much better having the values insted of the labels!). |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=18672 |
|
I don't have Stata installed, so I can't test my fix, only read the XML generated. If you can, please pull and confirm that it works as expected. |
|
Version 2.50+ Build 160425 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-04-07 13:38 | eloner | New Issue | |
2016-04-07 13:38 | eloner | File Added: limesurvey_survey_658592.lss | |
2016-04-07 14:12 | c_schmitz | Assigned To | => adamzammit |
2016-04-07 14:12 | c_schmitz | Status | new => assigned |
2016-04-07 14:21 | c_schmitz | Note Added: 37068 | |
2016-04-07 14:25 | eloner | Note Added: 37069 | |
2016-04-07 14:36 | c_schmitz | Assigned To | adamzammit => |
2016-04-07 14:36 | c_schmitz | Priority | none => high |
2016-04-07 14:36 | c_schmitz | Status | assigned => new |
2016-04-20 13:03 | ollehar | Assigned To | => ollehar |
2016-04-20 13:03 | ollehar | Status | new => assigned |
2016-04-20 13:03 | ollehar | Sticky Issue | No => Yes |
2016-04-20 13:16 | ollehar | Note Added: 37599 | |
2016-04-21 09:30 | eloner | File Added: StataOut.jpg | |
2016-04-21 09:31 | eloner | File Added: StataOutHowItShouldBe.jpg | |
2016-04-21 09:34 | eloner | Note Added: 37622 | |
2016-04-21 12:58 | ollehar | Changeset attached | => LimeSurvey master fcd576c0 |
2016-04-21 12:58 | ollehar | Note Added: 37646 | |
2016-04-21 12:58 | ollehar | Resolution | open => fixed |
2016-04-21 12:58 | ollehar | Status | assigned => resolved |
2016-04-21 12:58 | ollehar | Fixed in Version | => 2.5 |
2016-04-21 12:59 | ollehar | Note Added: 37647 | |
2016-04-21 13:13 | c_schmitz | Sticky Issue | Yes => No |
2016-04-25 13:54 | c_schmitz | Note Added: 37796 | |
2016-04-25 13:54 | c_schmitz | Status | resolved => closed |