View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08520 | Bug reports | Import/Export | public | 2014-01-08 21:59 | 2014-01-09 23:31 |
Reporter | rossokr | Assigned To | c_schmitz | ||
Priority | normal | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.05+ | ||||
Fixed in Version | 2.05+ | ||||
Summary | 08520: Import participants from .csv fails if 'created by' field is NULL | ||||
Description | I recently upgraded LimeSurvey version 2.0. build 131206 to 2.0.5 build 131219. I have about 2090 participants (global) that were previously imported. After the upgrade I tried to import more users and the error I was eventually able to catch inside Participant::model()->insertParticipantCSV was: CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1364 Field 'created_by' doesn't have a default value. The SQL statement executed was: INSERT INTO So I removed the NOT NULL restraint from the DB manually and the issue was fixed. My question is... was your intent to change the database (and forgot to update the code) or in fact change the actual code (and forgot to update the code)?? | ||||
Steps To Reproduce | -create a .csv file with 'new' users to import (firstname,lastname,email) | ||||
Additional Information | I realize that this issue may have already been resolved but since I just upgraded I wanted to get an understanding of why this change was made and if it was inadvertent. I will leave my database structure as-is, for now, until I hear otherwise. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 2.0.5 build 131219 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | Chrome on Mac | ||||
Database type & version | MySQL 5.6.12 MySQL Community Server (GPL) | ||||
Server OS (if known) | Mac OS X 10.7.5 (Lion) | ||||
Webserver software & version (if known) | apache 2 | ||||
PHP Version | 5.5 | ||||
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13662 |
|
Thank you for reporting this. Please find the fix above. We are looking forward to your donation. |
|
I've made the contribution and look forward to your support in the future |
|
2.05+ build 140109 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-08 21:59 | rossokr | New Issue | |
2014-01-09 09:03 | c_schmitz | Assigned To | => c_schmitz |
2014-01-09 09:03 | c_schmitz | Status | new => assigned |
2014-01-09 09:04 | c_schmitz | Changeset attached | => LimeSurvey master fcfac042 |
2014-01-09 09:04 | c_schmitz | Note Added: 27782 | |
2014-01-09 09:04 | c_schmitz | Resolution | open => fixed |
2014-01-09 09:05 | c_schmitz | Note Added: 27783 | |
2014-01-09 09:05 | c_schmitz | Status | assigned => resolved |
2014-01-09 09:05 | c_schmitz | Fixed in Version | => 2.05+ |
2014-01-09 22:12 | rossokr | Note Added: 27795 | |
2014-01-09 23:31 | c_schmitz | Note Added: 27798 | |
2014-01-09 23:31 | c_schmitz | Status | resolved => closed |