View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|13822||Bug reports||[All Projects] Import/Export||public||2018-06-27 12:11||2018-07-11 12:05|
|Target Version||Fixed in Version|
|Summary||13822: Importing a question with subquestions, promotes subquestions to same level as parent|
|Description||When importing a question that has subquestions, the subquestions are "promoted" to the same level as the parent question and the parent question loses its children.|
|Steps To Reproduce||Create a survey, with one question group, one question with subquestions.|
Export just the parent question.
Login to Limesurvey
Create a survey
Add a question group
Press "Create Question", then "Import Question"
Navigate to the exported file from the first phase
Complete the import process
Observe that the subquestions are now in the same QuestionGroup as the parent question, and the parent question has lost its children.
|Additional Information||Potentially related to the create question issue I have raised.|
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||3.12.2+180625 & 3.12.3|
|I will donate to the project if issue is resolved||No|
|Database & DB-Version||sqlsrv|
|Operating System (Server)||Linux 3.10.0-514.el7.x86_64 #1 SMP|
|Webserver software & version||Apache/2.4.6 (Red Hat Enterprise Linux)|
I cannot reproduce that in 3.12.3
Please update and let us know if it works now.
|I have updated with the latest ComfortUpdate & am still seeing this error. I think this may be a local install problem so am enabling debugging and will provide further feedback.|
|This issue is related to https://bugs.limesurvey.org/view.php?id=13821 - once the fix for that goes in, it should resolve this issue.|
The issue here is that prior to fix 13821 when saving a question the identity value for a new question wasn't being returned. This caused the child questions to be added as parents. The fix for 13821 ensures that the ID for the new question is returned and so child questions are correctly imported.
The issue is now resolved.
|2018-06-27 12:11||MerkOne||New Issue|
|2018-06-27 14:37||c_schmitz||Assigned To||=> c_schmitz|
|2018-06-27 14:37||c_schmitz||Status||new => feedback|
|2018-06-27 14:37||c_schmitz||Note Added: 48319|
|2018-06-27 16:32||MerkOne||Note Added: 48349|
|2018-06-27 16:32||MerkOne||Status||feedback => assigned|
|2018-07-02 11:41||MerkOne||Note Added: 48434|
|2018-07-11 12:05||MerkOne||Note Added: 48491|