View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20397 | Bug reports | Import/Export | public | 2026-01-09 10:59 | 2026-09-04 17:56 |
| Reporter | Mazi | Assigned To | |||
| Priority | none | Severity | block | ||
| Status | new | Resolution | open | ||
| Product Version | 6.15.x | ||||
| Summary | 20397: LSS export leads to missing answer labels at multilingual surveys while LSG export/import works fine | ||||
| Description | This is a follow up to 20054. After in-depth testing and re-creating the customers master survey from scratch, we can safely reproduce the following issue:
| ||||
| Steps To Reproduce | Steps to reproduce (A)
Expected resultAll answer labels should be there. Actual resultFor different languages different labels got lost. B: Alternative approach:
C: Further testing
| ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 6.15.22 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Story point estimate | 0 | ||||
| Browser | |||||
| Database type & version | PostgreSQL, Version number is 12.3_TDE_1.0. | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 8.2.29 | ||||
| related to | 20054 | closed | Answer labels get lost when copying a survey |
|
|
|
|
@tibor.pacalat, can you assign this ticket to @gabirlejenik since he also worked on the related ticket 20054? |
|
|
Dear @Mazi, I can not assign this to Gabriel, since this is corrupted data from the start, as was in the ticket 20054. In the LSS file you have attached, you can search for "Muž" (option A2 in question P02). The aid of this option is 183670. It exists only for 4 languages. If you can provide me with the minimal case to reproduce this issue, then I can confirm and assign it, otherwise I will close this as "won't fix" since there is nothing to fix on already missing data. |
|
|
@tibor.pacalat: This is NOT the same survey as used before. It was re-created from scratch with the latest Limesurvey 6.x version. Also, why is the LSS file missing options while exporting the group has all options? Something must be wrong there... |
|
|
In that case I need original survey (with all the options) to be able to reproduce the issue. |
|
|
@tibor.pacalat: The survey was generated by follow the approach outlined under B):
Since I can not export that survey (it will have the issues this ticket is about), I will attach all survey groups so you can re-create a working version using the above workaround. |
|
|
I have done following:
I can not find an issue, please look into the attached survey. I have also successfully imported the survey. Please let me know what you think. |
|
|
@tibor.pacalat: This is really driving me nuts. I can NOT reproduce at another test system but I CAN reproduce at the customer system. |
|
|
MySQL, PHP 8.3.20, Limesurvey 6.16.4+260113 |
|
|
Short update: Customer is NOT using MySQL/MariaDB like most others but PostgreSQL, Version number is 12.3_TDE_1.0. |
|
|
I understood that the labels are already missing on export. |
|
|
@c_schmitz, I have exported the affected survey directly from the customer system running LS 6.15.22+251103 on PostgreSQL (libpq) Version 13.23. Analyzing the XML structure reveals some interesting details: limesurvey_survey_666633-edge.lss: For the same group (gid 10104), the full survey export also contains 54 languages and 57 language-independent answer options, but 3,184 localization records were counted. These include 492 exact duplicates, leaving only 2,692 unique records. In total, 386 expected answer-language assignments are missing; answer IDs 183671 and 183676 have no localization records at all. This indicates that the full survey export produces an inconsistent <answer_l10ns> section, while the standalone group export is complete and consistent. |
|
|
Please check if the attached file fixes the issue. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-01-09 10:59 | Mazi | New Issue | |
| 2026-01-09 10:59 | Mazi | Note Added: 84073 | |
| 2026-01-09 10:59 | Mazi | File Added: survey_archive_666633-Backup.lsa | |
| 2026-01-09 10:59 | Mazi | Bug heat | 0 => 2 |
| 2026-01-09 10:59 | Mazi | Note Added: 84074 | |
| 2026-01-09 10:59 | Mazi | File Added: limesurvey_group_9893-G2-Recruitment.lsg | |
| 2026-01-09 10:59 | Mazi | File Added: limesurvey_group_9897-G1-Personal.lsg | |
| 2026-01-09 15:19 | Mazi | Note Added: 84075 | |
| 2026-01-09 15:19 | Mazi | File Added: Screenshot_6.png | |
| 2026-01-09 15:19 | Mazi | File Added: Screenshot_5.png | |
| 2026-01-09 15:20 | Mazi | Note Added: 84076 | |
| 2026-01-09 15:20 | Mazi | Relationship added | related to 20054 |
| 2026-01-09 17:35 | tibor.pacalat | Note Added: 84077 | |
| 2026-01-09 17:35 | tibor.pacalat | Bug heat | 2 => 4 |
| 2026-01-09 21:28 | Mazi | Note Added: 84079 | |
| 2026-01-12 10:21 | tibor.pacalat | Note Added: 84081 | |
| 2026-01-12 14:53 | Mazi | Note Added: 84084 | |
| 2026-01-12 14:53 | Mazi | File Added: limesurvey_group_9895-G6-Culture.lsg | |
| 2026-01-12 14:53 | Mazi | File Added: limesurvey_group_9892-G5-Working.lsg | |
| 2026-01-12 14:53 | Mazi | File Added: limesurvey_group_9894-G4-Development.lsg | |
| 2026-01-12 14:53 | Mazi | File Added: limesurvey_group_9896-G3-Pay.lsg | |
| 2026-01-12 18:45 | tibor.pacalat | Note Added: 84086 | |
| 2026-01-12 18:45 | tibor.pacalat | File Added: limesurvey_survey_894111.lss | |
| 2026-01-12 18:51 | tibor.pacalat | Note Edited: 84086 | |
| 2026-01-20 18:42 | Mazi | Note Added: 84116 | |
| 2026-01-20 18:46 | tibor.pacalat | Note Added: 84117 | |
| 2026-02-09 19:06 | Mazi | Note Added: 84198 | |
| 2026-03-30 13:29 | c_schmitz | Product Version | 6.12.x => 6.15.x |
| 2026-03-30 13:30 | c_schmitz | Summary | LSS export import leads to missing answer labels at multilingual surveys while LSG export/import works fine => LSS export leads to missing answer labels at multilingual surveys while LSG export/import works fine |
| 2026-09-04 15:56 | c_schmitz | Story point estimate | => 0 |
| 2026-09-04 15:56 | c_schmitz | Database type & version | MySQL 8.2 => PostgreSQL, Version number is 12.3_TDE_1.0. |
| 2026-09-04 15:57 | c_schmitz | Note Added: 85575 | |
| 2026-09-04 15:57 | c_schmitz | Bug heat | 4 => 6 |
| 2026-09-04 16:06 | c_schmitz | Note Edited: 85575 | |
| 2026-09-04 16:33 | Mazi | Note Added: 85578 | |
| 2026-09-04 16:33 | Mazi | File Added: limesurvey_group_10104-edge.lsg | |
| 2026-09-04 16:33 | Mazi | File Added: limesurvey_survey_666633-edge.zip | |
| 2026-09-04 17:56 | c_schmitz | Note Added: 85579 | |
| 2026-09-04 17:56 | c_schmitz | File Added: export_helper.php |