View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
07217Bug reportsImport/Exportpublic2013-01-29 12:44
Reportermfaber Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07217: Internal Server Error on import of question group file
Description

I get an error when trying to import a newly exported .lsg file:

Internal Server Error
CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'sqid' cannot be null

An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.

Thank you.

Steps To Reproduce

Create new Survey (German informal)
import question group zurExposition_menu.lsg [attached]

Additional Information

I just exported this question group from a survey.
A very similar question group file [attached zurExposition.lsg] imports ok. I exported this one with a previous build of limesurvey.

If you compare the two .lsg-files, you'll see that the biggest difference is the position of the sqid line.
It seems the export function puts this line in the wrong position of the file?

TagsNo tags attached.
Attached Files
zurExposition_menu.lsg (7,945 bytes)
zurExposition.lsg (8,828 bytes)
Bug heat4
Complete LimeSurvey version number (& build)130116
I will donate to the project if issue is resolvedNo
BrowserFF
Database type & versionMySQL (recent XAMP)
Server OS (if known)Win7
Webserver software & version (if known)Apache (recent XAMP)
PHP VersionPHP (recent XAMP)

Users monitoring this issue

mfaber

Activities

c_schmitz

c_schmitz

2013-01-22 22:55

administrator   ~23774

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

c_schmitz

c_schmitz

2013-01-25 11:31

administrator   ~23803

Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=11385

c_schmitz

c_schmitz

2013-01-29 12:44

administrator   ~23886

New version 2.00+ Build 120129 released

Related Changesets

LimeSurvey: master e3e400e6

2013-01-22 21:55:26

c_schmitz

Details Diff
Fixed issue 07217: Error on import of question group file containing invalid default values Affected Issues
07217
mod - application/helpers/admin/import_helper.php Diff File

LimeSurvey: 2.1 b91404b9

2013-01-22 21:55:26

c_schmitz

Details Diff
Fixed issue 07217: Error on import of question group file containing invalid default values Affected Issues
07217
mod - application/helpers/admin/import_helper.php Diff File

Issue History

Date Modified Username Field Change
2013-01-21 18:57 mfaber New Issue
2013-01-21 18:57 mfaber File Added: zurExposition_menu.lsg
2013-01-21 18:57 mfaber File Added: zurExposition.lsg
2013-01-22 21:07 c_schmitz Assigned To => c_schmitz
2013-01-22 21:07 c_schmitz Status new => assigned
2013-01-22 22:55 c_schmitz Status assigned => resolved
2013-01-22 22:55 c_schmitz Fixed in Version => 2.00+
2013-01-22 22:55 c_schmitz Resolution open => fixed
2013-01-22 22:55 c_schmitz Changeset attached => LimeSurvey master e3e400e6
2013-01-22 22:55 c_schmitz Note Added: 23774
2013-01-24 19:11 mfaber Issue Monitored: mfaber
2013-01-25 11:31 c_schmitz Changeset attached => LimeSurvey 2.1 b91404b9
2013-01-25 11:31 c_schmitz Note Added: 23803
2013-01-29 12:44 c_schmitz Note Added: 23886
2013-01-29 12:44 c_schmitz Status resolved => closed
2021-08-02 21:09 guest Bug heat 2 => 4