View Issue Details

IDProjectCategoryView StatusLast Update
16676Bug reportsImport/Exportpublic2020-10-01 08:27
ReporterChristianJeske Assigned To 
Status newResolutionopen 
Product Version4.3.15 
Summary16676: LimeSurvey PDF (QueXML/PDF) and html export totally screws with Array ordering


I made and remade the same array (6 Questions, 10 values from 1-10) in multiple (also new) survey and with import, with creating it new, multiple times.

In LimeSurvey I see it ordered Minute 0-5. In the Database I see the QID to be sequencial (say 2013, 2014 and so on, the question ordering in the DB is also 1-6.

So from Limesurvey side everything looks great.

As soon as I go to export and either select html or (what I would want) quexf pdf the array gets more or less random. 2,0,3,4,5,1

So I have no idea how and why the export treats the sorting without looking at either the sorting order (which again is there in the database and in LS as it shows correctly in the online survey).

Steps To Reproduce

Do Array X 5 or 6, Y 1-10. Export to html or quexf pdf/xml

TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 4.3.15+200907
I will donate to the project if issue is resolvedNo
Sync to Zoho Project
BrowserFirefox 80
Database & DB-VersionMySQL 5.6.19 version 427
Server OS (if known)
Webserver software & version (if known)
PHP Version7.3.10




2020-09-18 13:34


borked_export.png (99,309 bytes)   
borked_export.png (99,309 bytes)   


2020-09-19 18:50

developer   ~59886

A sample lss file with only one question can be great …



2020-09-21 09:01

reporter   ~59890

Ah sure, there is 2 groups, second question group is the array. This version I tried the 10-Point array but with array (F) same result.

I have 0 idea what the Problem could be. Database / Limesurvey Looks good. As soon as I Export it does a random roll on the sorting of the Array.



2020-09-21 10:50

reporter   ~59893

just created another survey. Only one question, limesurvey looks good. As soon as I export to HTML or QueXML (Pdf or XML) it will sort the Array in a random sorting.

random minutes.png (83,014 bytes)   
random minutes.png (83,014 bytes)   
html.png (39,146 bytes)   
html.png (39,146 bytes)   


2020-10-01 08:27

reporter   ~59997

Can anybody replicate my error? Or just my install borked?

Issue History

Date Modified Username Field Change
2020-09-18 13:34 ChristianJeske New Issue
2020-09-18 13:34 ChristianJeske File Added: borked_export.png
2020-09-19 18:50 DenisChenu Note Added: 59886
2020-09-21 09:01 ChristianJeske Note Added: 59890
2020-09-21 09:01 ChristianJeske File Added: limesurvey_survey_626625.lss
2020-09-21 10:50 ChristianJeske Note Added: 59893
2020-09-21 10:50 ChristianJeske File Added: limesurvey_survey_484217.lss
2020-09-21 10:50 ChristianJeske File Added: random minutes.png
2020-09-21 10:50 ChristianJeske File Added: html.png
2020-10-01 08:27 ChristianJeske Note Added: 59997