View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20345 | Bug reports | Import/Export | public | 2025-11-11 21:38 | 2025-11-12 18:18 |
| Reporter | Mazi | Assigned To | c_schmitz | ||
| Priority | none | Severity | block | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 6.6.x | ||||
| Summary | 20345: LSS files with text labels containing "<" are not imported correctly and result in empty items | ||||
| Description | At our survey a subquestion had this text: Exporting to LSS and importing at another system lead to an empty element at this question for this label. Probably the "<" character was not escaped properly and lead to a broken XML structure. | ||||
| Steps To Reproduce | Steps to reproduceImport the attached LSS file. Expected resultSee all subquestions. Actual resultSQ003 is empty though the LSS contains the correct label. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 6.15.21 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | MySQL/MariaDB | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 8.x | ||||
|
@tibor.pacalat: I can safely reproduce this. Please assign to a developer, should be a simply fix. Thanks! |
|
|
The XML structure is fine. The text is not saved properly in the LSS, probably because it was not properly saved in the original survey. |
|
|
Not a bug. |
|
|
We must test the whole process as superadministrator and whole process as simple administrator |
|
|
@c_schmitz, I get your point. And though this doesn't seem to be an import issues, it is still an issue if "<" is not escaped properly when saving the question text. So I'd prefer to keep this open and adjust the issue description, because the issue is there! |
|
|
The superadmin can import this just fine (I tested this) -for a normal admin this gets filtered. @Mazi Please test properly before reporting an issue. |
|
|
@c_schmitz, I just double checked and impoorted the attached LSS file at version 6.15.21 with the main superadmin user set up when installing the system. When checking question with code q506 and the FR logic file I still do see the empty entry for SQ003 as shown at the provided screenshot. |
|
|
The logic view does not show it since it is invalid HTML. |
|
|
c_schmitz, indeed - you are totally right. Will double check at the customer system. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-11-11 21:38 | Mazi | New Issue | |
| 2025-11-11 21:38 | Mazi | File Added: lss-import.png | |
| 2025-11-11 21:38 | Mazi | File Added: image.png | |
| 2025-11-11 21:38 | Mazi | File Added: G-SHPPS (local MASTER) (111111)_29-OCT-25.lss | |
| 2025-11-11 21:39 | Mazi | Note Added: 83740 | |
| 2025-11-11 21:39 | Mazi | Bug heat | 0 => 2 |
| 2025-11-12 00:11 | c_schmitz | Note Added: 83741 | |
| 2025-11-12 00:11 | c_schmitz | Bug heat | 2 => 4 |
| 2025-11-12 00:20 | c_schmitz | Assigned To | => c_schmitz |
| 2025-11-12 00:20 | c_schmitz | Status | new => closed |
| 2025-11-12 00:20 | c_schmitz | Resolution | open => no change required |
| 2025-11-12 00:20 | c_schmitz | Note Added: 83742 | |
| 2025-11-12 08:26 | DenisChenu | Note Added: 83746 | |
| 2025-11-12 08:26 | DenisChenu | Bug heat | 4 => 6 |
| 2025-11-12 08:57 | Mazi | Note Added: 83749 | |
| 2025-11-12 10:43 | c_schmitz | Note Added: 83750 | |
| 2025-11-12 10:48 | Mazi | Note Added: 83751 | |
| 2025-11-12 17:34 | c_schmitz | Note Added: 83759 | |
| 2025-11-12 18:17 | Mazi | Note Added: 83764 | |
| 2025-11-12 18:18 | Mazi | Note Edited: 83764 |