View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
16152Bug reportsImport/Exportpublic2020-05-19 11:49
Reporterwisniman Assigned Topstelling  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version4.1.18 
Summary16152: Subquestion texts missing when exporting questions to .lsq
Description

When exporting questions to .lsq via "Export" the subquestion texts seem to be missing.
The .lsq-file only stores subquestion titles and ignores sq texts, so that on re-import the sq texts default to "Some example subquestion".
Inside the .lsq file, the <preg/> tag, in which sq-texts should probably be stored, is empty:
...
<row>
...
<title><![CDATA[A1]]></title>
<preg/>
...
</row>
...

Steps To Reproduce

Create a question with subquestion(s) and export it to a .lsq-file via "Export".
Create a new question and import data from recently created .lsq-file.
The subquestion texts will alway read "Some example subquestion".

Open the .lsq-file in a text editor locally and try to find any subquestion texts, you will only find empty <preg/>-tags.

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)Version 4.1.18+200416
I will donate to the project if issue is resolvedNo
BrowserMozilla Firefox and Chrome
Database type & version5.5.5-10.4.11-MariaDB, mysqlnd 7.4.4
Server OS (if known)Windows
Webserver software & version (if known) XAMPP for Windows 7.4.4 (Apache/2.4.41 (Win64))
PHP VersionPHP 7.4.4

Users monitoring this issue

wisniman

Activities

wisniman

wisniman

2020-04-17 20:42

reporter   ~57229

related forum topic:
https://www.limesurvey.org/forum/design-issues/120861-subquestion-texts-missing-when-exporting-questions-to-lsq

pstelling

pstelling

2020-05-15 15:31

developer   ~57840

Last edited: 2020-05-15 15:33

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=29976

lime_release_bot

lime_release_bot

2020-05-19 11:49

administrator   ~57909

Fixed in Release 4.2.4+200520

Related Changesets

LimeSurvey: master 14947d30

2020-05-15 09:46:36

pstelling

Details Diff
Fixed issue 16152: Subquestion texts missing when exporting questions to lsq Affected Issues
16152
mod - application/helpers/admin/import_helper.php Diff File

Issue History

Date Modified Username Field Change
2020-04-17 20:37 wisniman New Issue
2020-04-17 20:40 wisniman Issue Monitored: wisniman
2020-04-17 20:42 wisniman Note Added: 57229
2020-04-17 20:51 cdorin Priority none => high
2020-04-17 20:51 cdorin Status new => confirmed
2020-04-17 20:51 cdorin Zoho Sprints => |Yes|
2020-04-17 20:51 swendrich Zoho Sprints ID => 14469000000052001
2020-05-15 15:31 pstelling Changeset attached => LimeSurvey master 14947d30
2020-05-15 15:31 pstelling Note Added: 57840
2020-05-15 15:31 pstelling Assigned To => pstelling
2020-05-15 15:31 pstelling Resolution open => fixed
2020-05-15 15:33 swendrich Zoho Sprints Yes => |Yes|
2020-05-15 15:33 swendrich Status confirmed => resolved
2020-05-19 11:49 lime_release_bot Zoho Sprints Yes => |Yes|
2020-05-19 11:49 lime_release_bot Note Added: 57909
2020-05-19 11:49 lime_release_bot Status resolved => closed
2021-08-03 08:09 guest Bug heat 6 => 8