View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04055Bug reportsConditionspublic2010-01-27 22:46
Reporteruser6162Assigned Tolemeur  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.86 
Fixed in Version1.87+ 
Summary04055: Conditions do not survive import/export - reopen topic 02794:
Description

I set up a Survey in Version 1.86 with conditions. Then I exported it as csv file and reimported it (on the same computer and on a different computer with Version 1.87). In the imported version, the conditions were no longer correct, as described in topic 02794: "Conditions do not survive import/export".

The involved question-types are as follows:

I want to display a question of type
Array (Multi Flexible) (Text)
based on conditions from a question of type
Array (Flexible Labels) Dual Scale

How can I get my conditions back without redefinig them?
Xaver

Additional Information

Export from: Version 1.86 (7697)
Import to: Version 1.86 (7697) and Version 1.87 (8227)

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)7697
I will donate to the project if issue is resolved
BrowserFirefox and IE
Database type & versionMySQL client version: 5.0.51a
Server OS (if known)Windows
Webserver software & version (if known)IIS
PHP VersionphpMyAdmin - 2.11.9.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

user372

2010-01-21 00:07

  ~10834

@ studerus: Your survey structure is too complex for testing - please provide a simple sample survey structure (survey structure as .csv-file), where we can reproduce the issue on an easy way.
Plus: add a step-by-step instruction how to reproduce the issue ==> correct condition before export and false/not existing condition after import!

Thx!

user6162

2010-01-21 14:45

  ~10849

I added 2 Files
a) Limesurvey Issue 02794.pdf
A description of the involvedd steps

b) limesurvey_survey_36765.csv
The Exportet data

Xaver

user372

2010-01-21 23:04

  ~10853

I can reproduce the issue.

lemeur

lemeur

2010-01-25 14:51

developer   ~10887

Though this is the same error as in 02794, it doesn't affect the same question type, so 2794 shouldn't be reopened.

lemeur

lemeur

2010-01-25 14:55

developer   ~10888

Fixed in rev 8302.

Note however that you won't be able to import your survey from the file you just uploaded as its contents is already wrong (conditions refering to wrong cfieldnames).
==> Replace 22171 by 36765 in the conditions section.

#

CONDITIONS TABLE

#
"cid","qid","scenario","cqid","cfieldname","method","value"
"175","58","2","56","36765X24X56a2#0","==","b1"
"176","58","3","56","36765X24X56a3#0","==","b1"
"177","58","4","56","22171X24X58a4#0","==","b1"
"178","58","5","56","22171X24X58a5#0","==","b1"
"179","58","6","56","22171X24X58a8#0","==","b1"
"180","58","7","56","22171X24X58a6#0","==","b1"
"181","58","8","56","22171X24X58a7#0","==","b1"
"182","58","9","56","22171X24X58a9#0","==","b1"
"183","58","10","56","22171X24X58a10#0","==","b1"
"184","58","11","56","22171X24X58a11#0","==","b1"
"315","58","1","56","36765X24X56a1#0","==","b1"

user6162

2010-01-25 16:43

  ~10891

Follow-up questions:
1) when does the error occur? When exporting or when importing.
2) How do I get rev. 8302
3) I want to import the first submitted .csv file
(limesurvey_survey_22171.csv - "too complex").
What are the requred steps?

lemeur

lemeur

2010-01-25 16:51

developer   ~10892

1) when importing, (at elast this is what I fixed). However, the CSV strucure you uploaded was already wrong as you can see above.

2) wait untill the new stable plus is released (tomorrow night)

3) the "limesurvey_survey_22171.csv" structure seems ok and should be imported correctly (at first glance).

Regards,
Thibault

Issue History

Date Modified Username Field Change
2010-01-19 11:34 user6162 New Issue
2010-01-19 11:34 user6162 Status new => assigned
2010-01-19 11:34 user6162 Assigned To => user372
2010-01-19 11:34 user6162 File Added: limesurvey_survey_22171.csv
2010-01-19 11:34 user6162 LimeSurvey build number => 7697
2010-01-19 11:34 user6162 Browser => Firefox and IE
2010-01-19 11:34 user6162 Database & DB-Version => MySQL client version: 5.0.51a
2010-01-19 11:34 user6162 Operating System (Server) => Windows
2010-01-19 11:34 user6162 Webserver => IIS
2010-01-19 11:34 user6162 PHP Version => phpMyAdmin - 2.11.9.5
2010-01-19 11:39 user6162 Issue Monitored: user6162
2010-01-20 16:24 user6162 Issue End Monitor: user6162
2010-01-21 00:07 user372 Note Added: 10834
2010-01-21 00:07 user372 Status assigned => feedback
2010-01-21 14:41 user6162 File Added: limesurvey_survey_36765.csv
2010-01-21 14:42 user6162 File Added: Limesurvey Issue 02794.pdf
2010-01-21 14:45 user6162 Note Added: 10849
2010-01-21 23:04 user372 Note Added: 10853
2010-01-21 23:04 user372 Status feedback => assigned
2010-01-21 23:04 user372 Assigned To user372 => lemeur
2010-01-25 14:51 lemeur Note Added: 10887
2010-01-25 14:55 lemeur Note Added: 10888
2010-01-25 14:55 lemeur Status assigned => resolved
2010-01-25 14:55 lemeur Fixed in Version => 1.87+
2010-01-25 14:55 lemeur Resolution open => fixed
2010-01-25 16:43 user6162 Note Added: 10891
2010-01-25 16:51 lemeur Note Added: 10892
2010-01-27 22:46 c_schmitz Status resolved => closed