View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
13797Bug reportsImport/Exportpublic2018-08-28 12:04
Reporteraruser Assigned Todominikvitt 
PrioritynoneSeverityminor 
Status closedResolutionsuspended 
Product Version3.9.x 
Summary13797: Subquestions get exported with gid=0 and type=F
Description

I am using a lot of array questions with subquestions in my survey. When I export this survey as lss file, some of these subquestions get exported with a gid of 0 and type "F":

<gid><![CDATA[0]]></gid>
<type><![CDATA[F]]></type>

Others get exported with a non-zero gid and type=T:

<gid><![CDATA[26]]></gid>
<type><![CDATA[T]]></type>

When I then try to import these lss files as a new survey, only the subquestions with a non-zero gid get imported, the others are lost. The same behaviour occurs if I don't use import/export, but use the "Copy" feature: The gid=0 subquestions do not get copied into the new survey.

Is this some legacy issue which has corrupted my database maybe? Is there a way to fix this? My original survey seems to work just fine -- all the subquestions with gid=0 get properly shown to the user and answers get properly recorded.

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)3.9.0+180604
I will donate to the project if issue is resolvedNo
BrowserFirefox 60
Database type & versionMySQL (mysqlnd 5.0.12-dev - 20150407)
Server OS (if known)Linux
Webserver software & version (if known)Apache
PHP Version7.1.18

Users monitoring this issue

DenisChenu

Activities

DenisChenu

DenisChenu

2018-06-20 11:30

developer   ~48243

I think the issue can be "When I then try to import these lss files as a new survey, only the subquestions with a non-zero gid get imported, the others are lost.”

I don't see why in current model, then must be allowed :)

If you have a little lss file with such subquestion : please send it.

dominikvitt

dominikvitt

2018-06-28 16:05

developer   ~48364

Please upload .lss export file, then would be able to investigate it.

LouisGac

LouisGac

2018-08-28 12:04

developer   ~48893

no feed back from user

Issue History

Date Modified Username Field Change
2018-06-20 11:07 aruser New Issue
2018-06-20 11:29 DenisChenu Issue Monitored: DenisChenu
2018-06-20 11:30 DenisChenu Note Added: 48243
2018-06-25 10:23 LouisGac Assigned To => dominikvitt
2018-06-25 10:23 LouisGac Status new => assigned
2018-06-28 16:05 dominikvitt Status assigned => feedback
2018-06-28 16:05 dominikvitt Note Added: 48364
2018-08-28 12:04 LouisGac Status feedback => closed
2018-08-28 12:04 LouisGac Resolution open => suspended
2018-08-28 12:04 LouisGac Note Added: 48893