View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
08584Bug reportsImport/Exportpublic2014-02-04 13:32
Reportermfaber Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.05+ 
Target Version2.05+Fixed in Version2.05+ 
Summary08584: Data loss when importing .lsa and number only subquestions
Description

Attached is a test survey which included "number only" subquestion codes. The survey is imported, subquesiton names converted (to the infamous "SQXXX") but responses from those (sub-)questions are lost during import.

Steps To Reproduce

Create new survey
Import
Choose attached .lsa
Browse responses....all questions during the end of the survey are empty

TagsNo tags attached.
Attached Files
subquestions.js (31,646 bytes)
Bug heat4
Complete LimeSurvey version number (& build)140123
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL 5.0.10
Server OS (if known)Win7
Webserver software & version (if known)Apache/2.4.4 (Win32)
PHP VersionPhP 5.4.19

Relationships

related to 08580 closedc_schmitz Feature requests Numerical-only subquestion codes 

Users monitoring this issue

There are no users monitoring this issue.

Activities

mfaber

mfaber

2014-01-24 10:19

reporter   ~28121

Thanks a bunch, c_schmitz! With the commit on Git the import works fine again.
Good to see that "SQ" is not enforced anymore. Subquestions.js also needed two small changes so adding and quick-adding numerical codes work again. Please find the my version attached. Thanks again!!

c_schmitz

c_schmitz

2014-01-25 17:22

administrator   ~28140

2.05+ Build 140125 released

c_schmitz

c_schmitz

2014-01-25 18:35

administrator   ~28175

It is not fully resolved yet - please don't close this.

mfaber

mfaber

2014-01-25 19:14

reporter   ~28181

sorry, was in clean-up mode :)

c_schmitz

c_schmitz

2014-02-01 17:37

administrator   ~28380

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

c_schmitz

c_schmitz

2014-02-04 13:32

administrator   ~28513

Version 2.05+ Build 140204 released

Related Changesets

LimeSurvey: master d6fb3b28

2014-01-23 15:14:07

c_schmitz

Details Diff
Fixed issue: Numeric-only codes on subquestions not being allowed Affected Issues
08580, 08584
mod - application/models/Question.php Diff File

LimeSurvey: master cde46278

2014-01-23 18:24:27

c_schmitz

Details Diff
Fixed issue: Numeric-only codes on subquestions not being allowed Affected Issues
08580, 08584
mod - application/models/Question.php Diff File

LimeSurvey: master 15786e38

2014-02-01 16:37:52

c_schmitz

Details Diff
Fixed issue 08584: Data loss when importing .lsa files
Dev Added a special scenario for lsa files so their question codes are not touched
Affected Issues
08584
mod - application/helpers/admin/import_helper.php Diff File
mod - application/models/Question.php Diff File

Issue History

Date Modified Username Field Change
2014-01-23 11:31 mfaber New Issue
2014-01-23 11:31 mfaber File Added: survey_archive_787769.lsa
2014-01-23 11:32 mfaber Relationship added related to 08580
2014-01-23 13:24 c_schmitz Assigned To => c_schmitz
2014-01-23 13:24 c_schmitz Status new => assigned
2014-01-24 10:19 mfaber Note Added: 28121
2014-01-24 10:34 mfaber File Added: subquestions.js
2014-01-25 16:49 mfaber Changeset attached => LimeSurvey master cde46278
2014-01-25 16:50 mfaber Status assigned => resolved
2014-01-25 16:50 mfaber Resolution open => fixed
2014-01-25 16:50 mfaber Fixed in Version => 2.05+
2014-01-25 16:53 mfaber Changeset attached => LimeSurvey master d6fb3b28
2014-01-25 17:22 c_schmitz Note Added: 28140
2014-01-25 17:22 c_schmitz Status resolved => closed
2014-01-25 18:34 c_schmitz Status closed => assigned
2014-01-25 18:35 c_schmitz Note Added: 28175
2014-01-25 19:14 mfaber Note Added: 28181
2014-02-01 17:32 c_schmitz Status assigned => resolved
2014-02-01 17:37 c_schmitz Changeset attached => LimeSurvey master 15786e38
2014-02-01 17:37 c_schmitz Note Added: 28380
2014-02-04 13:32 c_schmitz Note Added: 28513
2014-02-04 13:32 c_schmitz Status resolved => closed