View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
04827Bug reportsImport/Exportpublic2011-01-07 20:44
Reporterawarren Assigned Toc_schmitz  
PrioritynormalSeverityblock 
Status closedResolutionfixed 
Product Version1.90+ 
Fixed in Version1.91RC1 
Summary04827: Subquestion GID not updating properly
Description

SQL error message thrown on import of a survey where questions with sub-questions have been moved from group to group, and original group has been deleted.

Steps To Reproduce

1) Create a survey with two groups (A & B)
2) Create an array question with sub-questions in Group A (Q1)
3) Re-assign Q1 to Group B
4) Delete Group A
5) Export survey
6) Import survey and get SQL error (null group id not allowed)

Additional Information

If the user doesn't go on to delete to original group the import will succeed, though its possible that this could be responsible for other problems which I haven't successfully characterized yet (relating to Previous / Next group navigation).

Apologies if this has already been submitted, my search was fruitless.

TagsNo tags attached.
Attached Files
lsSubQMove_Example.zip (7,101 bytes)
database.php (79,911 bytes)
Bug heat2
Complete LimeSurvey version number (& build)9321
I will donate to the project if issue is resolvedNo
BrowserAny
Database type & versionMySQL 5.0.45
Server OS (if known)Linux RHEL5
Webserver software & version (if known)Apache 2.2.3
PHP VersionPHP 5.2.9

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2010-12-20 22:27

administrator   ~13818

Added fixed file for 1.90

Issue History

Date Modified Username Field Change
2010-12-16 19:52 awarren New Issue
2010-12-16 19:52 awarren File Added: lsSubQMove_Example.zip
2010-12-20 22:01 c_schmitz Assigned To => c_schmitz
2010-12-20 22:01 c_schmitz Status new => assigned
2010-12-20 22:19 c_schmitz Status assigned => resolved
2010-12-20 22:19 c_schmitz Fixed in Version => 1.91RC1
2010-12-20 22:19 c_schmitz Resolution open => fixed
2010-12-20 22:27 c_schmitz File Added: database.php
2010-12-20 22:27 c_schmitz Note Added: 13818
2011-01-07 20:44 c_schmitz Status resolved => closed