Please help us help you and fill where relevant: Your LimeSurvey version: 7.12.1+261125 (November 25, 2026) Own server or LimeSurvey hosting: hosting Survey theme/template:
==================
Problem description:All Ranking questions in our survey are affected. Respondents' answers are correctly recorded and visible in LimeSurvey, and the responses are present in the survey database.However, when exporting the data using the traditional SPSS export method, the individual ranking variables are empty in the resulting SPSS dataset.I have examined both the generated
Code:
.sps
and
Code:
.dat
files and identified the following:
The
Code:
.dat
file contains the ranking responses as JSON arrays in the main question variables. For example,
Code:
V53
contains
Code:
["2","8","1"]
, while
Code:
V64
contains
Code:
["5","8","4"]
.
The corresponding individual ranking variables (e.g.
Code:
V54
,
Code:
V55
,
Code:
V56
, etc.) are empty.
The generated
Code:
.sps
syntax defines these individual ranking variables, but their values are not populated in the exported data.
Thank you in advance for your assistance.Best regards,As a result, all ranking information is missing from the SPSS dataset, even though the original responses are available in LimeSurvey.This issue affects all Ranking questions in the survey, not just a single question.Expected behaviour:The SPSS export should correctly convert the stored ranking responses into separate variables representing each rank (Rank 1, Rank 2, Rank 3, etc.), as it did in previous LimeSurvey versions.Actual behaviour:The ranking responses remain stored as JSON arrays in the main variables in the
Code:
.dat
file, while all corresponding individual ranking variables are empty.Since this problem appeared after upgrading to LimeSurvey 7, we suspect it may be related to changes in how Ranking question responses are stored or processed in the new version, and possibly to an incompatibility in the SPSS export functionality.Could you please investigate this issue and confirm whether it is a known bug in LimeSurvey 7.12.1?If this is a bug, we would appreciate a fix or a workaround that would allow us to correctly export Ranking question responses to SPSS.I can provide the generated
Code:
.sps
and
Code:
.dat
files for further investigation.
Best regards,
Lubomir Ivanov