View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04295 | Bug reports | Other | public | 2010-04-26 00:43 | 2010-05-05 10:28 |
Reporter | jooghe | Assigned To | mdekker | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.87+ | ||||
Target Version | 1.90b | Fixed in Version | 1.90b | ||
Summary | 04295: SPSS export of labels for dual scale questions is incorrect | ||||
Description | Hi, We are writing a module to export survey results to SAS (statistical analysis software). We're using the same logic as the SPSS export and re-using SPSS code. The problem is the dual scale question (LSTYPE=1). For this question type you must give 2 answers for 1 question. These answers are selected from 2 different labelsets. When exporting such a question to SPSS you see that there correctly 2 variables created, but only 1 labelset is used to retrieve the answer codes. Only lableset LID is selected, the second labelset in the question definition is (LID1) is not used for the second answer. I think it can be solved by a minor change in export_data_functions.php. In the function spss_getvalues around line 190 there is the contion :
I think this is best change to :
//build query for LID I hope this makes sense. Please give some feedback if this is the good way to solve the problem. Cheers, | ||||
Steps To Reproduce | Create a survey with only 1 group and 1 dual-scale question. | ||||
Tags | No tags attached. | ||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 1.87 | ||||
I will donate to the project if issue is resolved | |||||
Browser | |||||
Database type & version | MYSQL | ||||
Server OS (if known) | Linux | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 4. | ||||
Thanks for the report! Will be fixed in the new 1.90 release which will go beta in the coming weeks. As a lot has changed on the labelsets, please test the beta when released. Also take a look at http://quanti.hypotheses.org/348/ they have a macro to convert spss export to sas export. Not really sure if it works, but it could be a good start. |
|
Committed a fix in svn 8645 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-04-26 00:43 | jooghe | New Issue | |
2010-04-26 15:43 |
|
Assigned To | => mdekker |
2010-04-26 15:43 |
|
Status | new => assigned |
2010-04-28 10:02 | mdekker | Fixed in Version | => 1.90b |
2010-04-28 10:02 | mdekker | Target Version | => 1.90b |
2010-04-28 10:05 | mdekker | Note Added: 11668 | |
2010-04-28 10:07 | mdekker | Note Added: 11669 | |
2010-04-28 10:07 | mdekker | Status | assigned => resolved |
2010-04-28 10:07 | mdekker | Resolution | open => fixed |
2010-05-05 10:28 | c_schmitz | Status | resolved => closed |
2010-05-06 10:27 | c_schmitz | Category | Import / Export => (No Category) |